Hier werden die Unterschiede zwischen zwei Versionen angezeigt.
Beide Seiten der vorigen RevisionVorhergehende ÜberarbeitungNächste Überarbeitung | Vorhergehende Überarbeitung | ||
playground:playground4 [2011/08/16 01:56] – MWanke | playground:playground4 [2024/09/22 00:29] (aktuell) – Externe Bearbeitung 127.0.0.1 | ||
---|---|---|---|
Zeile 1: | Zeile 1: | ||
- | ====== Spielwiese-4- ====== | + | ====== Spielwiese-BBC- ====== |
- | <WRAP center round alert 60%> | + | Text ist 1:1 von hier |
- | Graphviz-plugin | + | // |
- | Plugin gelöscht | + | kopiert **mit** allen BBC's **ohne** Änderungen |
- | </ | + | sogar (bis auf die Bilder) nichts mehr machen ;-) |
- | ---- plugin ---- | + | ====== |
- | description: | + | |
- | author | + | |
- | email : andi@splitbrain.org | + | |
- | type : Syntax | + | |
- | lastupdate : 2010-11-24 | + | |
- | compatible : anteater | + | |
- | depends | + | |
- | conflicts | + | |
- | similar | + | |
- | tags : media, images, diagram, graphviz | + | |
- | downloadurl: | ||
- | bugtracker : http:// | ||
- | sourcerepo : http:// | ||
- | donationurl: | ||
- | ---- | ||
- | This plugin can create directed and non-directed graph images from a textual description language called " | ||
- | The plugin supports exporting to OpenOffice through the [[odt|ODT Plugin]] (only with a local graphviz install). | + | [size=4]Was brauchen wir dazu?[/size] |
- | For more information on Graphviz and the dot language refer to the [[http:// | + | - einen Amiga mit PCMCIA Schnittstelle (A600 oder A1200) |
+ | - ein fertig installiertes AmigaOS, AmigaOS2.x oder höher | ||
+ | - folgendes aus dem Aminet: | ||
+ | *Das fat95 Archiv | ||
+ | *Das compactflashdevice und CF0. (befindet sich beides im Archiv) | ||
+ | - Die Kenntnisse, um lha zu entpacken (falls gewünscht mache ich dazu auch nochmal ein passendes Tutorial) | ||
- | This plugin was originally written by [[calle@ioslo.net|Carl-Christian Salvesen]]. The current plugin is a nearly complete rewrite and differs on how it works internally and where graphs are stored. | + | -einen PCMCIA zu CF Adapter (gibt es zum Beispiel bei Conrad-Elektronik, |
+ | -eine CF Karte (zu empfehlen sind zB Toshiba Karten) | ||
+ | -einen PC mit 3,5" Diskettenlaufwerk | ||
+ | Als erstes besorgen wir uns also einmal die Daten aus dem Aminet. | ||
+ | Dazu besuchen wir die Seite [url]http:// | ||
+ | [URL=http:// | ||
- | ===== Download and Installation ===== | + | [URL=http:// |
- | Download and install the plugin using the [[plugin: | ||
- | ==== Changes ==== | + | [size=4][b]1. Dateien zum Amiga bringen und CrossDos einrichten[/ |
- | {{rss> | + | Zunächst müssen wir die Dateien erstmal zum Amiga bringen, um später überhaupt in den Genuss von CF-Karten Datenübertragung kommen zu können. Das geht am einfachsten erst einmal mit CrossDos, welches jedem AmigaOS ab der Version 2.1 beiliegt. |
+ | Dazu benötigen wir dann noch eine 3,5" Diskette im DD-Format. (Solltet ihr nur eine HD-Disk haben, so geht das zur Not auch, aber bitte nicht vergessen das HD-Loch abzukleben!) | ||
- | ===== Configuration ===== | + | [size=3][b]1.1) CrossDos einrichten: |
- | The full path to your graphviz' | + | Dazu kopiert ihr einfach die Datei PC0 aus dem Ordner Storage/ |
+ | nach Devs/ | ||
+ | [attach]38034[/ | ||
+ | Das wars schon! CrossDos ist nach einem Neustart (oder Doppelklick auf PC0) des Systems jetzt bereit und euer Amiga kann 720kb formatierte PC-Disketten lesen. | ||
- | ===== Syntax and Usage ===== | ||
- | Any Graphviz compatible graph definition can be given with '' | + | [size=3][b]1.2) 3,5" Diskette vorbereiten[/ |
- | The rendering engine can optionally be given as argument | + | Entweder formatiert ihr eure Diskette an einem DOS-PC auf 720kb, oder macht es mit der Eingabeaufforderung von Windows. (zB WinXP) |
+ | Dazu tippt ihr folgendes | ||
+ | [attach]38035[/ | ||
+ | Jetzt einfach die Dateien (siehe "Was ihr dazu braucht" | ||
- | You can also specify '' | + | Nachdem alle Daten in die RamDISK (oder ein anderes Laufwerk, in meinem Fall " |
- | A parameter in the form of '' | + | [size=4][b]2. Einrichtung für CF-Karten Datenaustausch[/b][/size] |
- | ==== Example ==== | + | [i]Die Datei [b]fat95[/ |
+ | [b]CF0[/b] gehört in den Ordner [b]Devs/ | ||
+ | [attach]38036[/ | ||
- | {{ http:// | + | [b]Fertig! |
- | < | + | Nach einem Neustart |
- | < | + | |
- | digraph finite_state_machine { | + | |
- | rankdir=LR; | + | |
- | size=" | + | |
- | node [shape = doublecircle]; | + | |
- | node [shape = circle]; | + | |
- | LR_0 -> LR_2 [ label = " | + | |
- | LR_0 -> LR_1 [ label = " | + | |
- | LR_1 -> LR_3 [ label = " | + | |
- | LR_2 -> LR_6 [ label = "SS(b)" | + | |
- | LR_2 -> LR_5 [ label = "SS(a)" ]; | + | |
- | LR_2 -> LR_4 [ label = "S(A)" ]; | + | |
- | LR_5 -> LR_7 [ label = "S(b)" | + | |
- | LR_5 -> LR_5 [ label = " | + | |
- | LR_6 -> LR_6 [ label = " | + | |
- | LR_6 -> LR_5 [ label = " | + | |
- | LR_7 -> LR_8 [ label = " | + | |
- | LR_7 -> LR_5 [ label = " | + | |
- | LR_8 -> LR_6 [ label = " | + | |
- | LR_8 -> LR_5 [ label = " | + | |
- | } | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | ====== Test 1 ====== | + | |
- | http:// | + | |
- | < | + | |
- | digraph G { | + | |
- | + | ||
- | subgraph cluster_0 { | + | |
- | style=filled; | + | |
- | color=lightgrey; | + | |
- | node [style=filled, | + | |
- | a0 -> a1 -> a2 -> a3; | + | |
- | label = " | + | |
- | } | + | |
- | + | ||
- | subgraph cluster_1 { | + | |
- | node [style=filled]; | + | |
- | b0 -> b1 -> b2 -> b3; | + | |
- | label = " | + | |
- | color=blue | + | |
- | } | + | |
- | start -> a0; | + | |
- | start -> b0; | + | |
- | a1 -> b3; | + | |
- | b2 -> a3; | + | |
- | a3 -> a0; | + | |
- | a3 -> end; | + | |
- | b3 -> end; | + | |
- | + | ||
- | start [shape=Mdiamond]; | + | |
- | end [shape=Msquare]; | + | |
- | } | + | |
- | </ | + | |
- | + | ||
- | ====== TEST2 ====== | + | |
- | < | + | |
- | graph G { | + | |
- | e | + | |
- | subgraph clusterA { | + | |
- | a -- b; | + | |
- | subgraph clusterC { | + | |
- | C -- D; | + | |
- | } | + | |
- | } | + | |
- | subgraph clusterB { | + | |
- | d -- f | + | |
- | } | + | |
- | d -- D | + | |
- | e -- clusterB | + | |
- | clusterC -- clusterB | + | |
- | } | + | |
- | </ | + | |
- | + | ||
- | ====== so soll es aussehen (als SVG) ====== | + | |
- | + | ||
- | <svg width=" | + | |
- | | + | |
- | | + | |
- | <g id=" | + | |
- | < | + | |
- | <g id=" | + | |
- | <polygon style=" | + | |
- | </ | + | |
- | <g id=" | + | |
- | <polygon style=" | + | |
- | </ | + | |
- | + | ||
- | <g id=" | + | |
- | <polygon style=" | + | |
- | </ | + | |
- | <!-- e --> | + | |
- | <g id=" | + | |
- | <ellipse style=" | + | |
- | <text text-anchor=" | + | |
- | </ | + | |
- | <!-- __0: | + | |
- | <g id=" | + | |
- | </ | + | |
- | <!-- e&# | + | |
- | <g id=" | + | |
- | + | ||
- | <path style=" | + | |
- | </ | + | |
- | <!-- a --> | + | |
- | <g id=" | + | |
- | <ellipse style=" | + | |
- | <text text-anchor=" | + | |
- | </ | + | |
- | <!-- b --> | + | |
- | <g id=" | + | |
- | <ellipse style=" | + | |
- | <text text-anchor=" | + | |
- | </ | + | |
- | <!-- a&# | + | |
- | + | ||
- | <g id=" | + | |
- | <path style=" | + | |
- | </ | + | |
- | <!-- C --> | + | |
- | <g id=" | + | |
- | <ellipse style=" | + | |
- | <text text-anchor=" | + | |
- | </ | + | |
- | <!-- D --> | + | |
- | <g id=" | + | |
- | <ellipse style=" | + | |
- | <text text-anchor=" | + | |
- | + | ||
- | </ | + | |
- | <!-- C&# | + | |
- | <g id=" | + | |
- | <path style=" | + | |
- | </ | + | |
- | <!-- d --> | + | |
- | <g id=" | + | |
- | <ellipse style=" | + | |
- | <text text-anchor=" | + | |
- | </ | + | |
- | <!-- d&# | + | |
- | <g id=" | + | |
- | + | ||
- | <path style=" | + | |
- | </ | + | |
- | <!-- f --> | + | |
- | <g id=" | + | |
- | <ellipse style=" | + | |
- | <text text-anchor=" | + | |
- | </ | + | |
- | <!-- d&# | + | |
- | <g id=" | + | |
- | <path style=" | + | |
- | </ | + | |
- | <!-- __1: | + | |
- | <g id=" | + | |
- | + | ||
- | </ | + | |
- | <!-- __2: | + | |
- | <g id=" | + | |
- | </ | + | |
- | <!-- __1: | + | |
- | <g id=" | + | |
- | <path style=" | + | |
- | </ | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | ====== Ende ====== | + | |
- | < | + | |
+ | test | ||
+ | [i][size=-2]Dieser Bereich wird moderiert. Kommentare müssen erst manuell freigeschaltet werden![/ |