first commit

This commit is contained in:
douboer
2025-09-17 16:08:16 +08:00
parent 9395faa6b2
commit 3ff47c11d5
1318 changed files with 117477 additions and 0 deletions

View File

@@ -0,0 +1 @@
(Group without a name)

View File

@@ -0,0 +1 @@
()->()->()

View File

@@ -0,0 +1,30 @@
( DMZ:
[ Backend ]
[ Database ]
[ Proxy ]
[ Server ]
)
[ Proxy ] --> [ Check ]
[ Proxy ] --> { flow: south; } [ Database ]
[ Proxy ] --> [ Server ]
[ Check ] --> [ Backend ]
[ Database ] --> [ Backend ]
( DMZ1:
[ 1Backend ]
[ 1Database ]
[ 1Proxy ]
[ 1Server ]
)
[ 1Proxy ] --> [ 1Check ]
[ 1Proxy ] --> { flow: south; } [ 1Database ]
[ 1Proxy ] --> [ 1Server ]
[ 1Check ] --> [ 1Backend ]
[ 1Database ] --> [ 1Backend ]
[ 1Proxy ] --> [ 1Check ]
[ 1Proxy ] --> { flow: south; } [ 1Database ]
[ 1Proxy ] --> [ 1Server ]
[ 1Check ] --> [ 1Backend ]
[ 1Database ] --> [ 1Backend ]

View File

@@ -0,0 +1,7 @@
# Different border styles
[ Solid ] ..> [ Dotted ] { border: dotted; }
[ Dashed ] { border: dashed; } ==> [ none ] { border: none; }
[ dot-dash ] { border: dot-dash; } - > [ Bold ] { border: bold; }
[ dot-dot-dash ] { border: dot-dot-dash; } .-> [ wave ] { border: wave; }
[ double-dash ] { border: double-dash; } ~~> [ Double ] { border: double; }

View File

@@ -0,0 +1,19 @@
node { background: yellow; }
[ Bonn ] ..> [ Berlin ] -> [ Kassel ]
[ Bonn ] .-> [ Koblenz ]
[ Bonn ] -> [ Ulm ] -> [ Koblenz ]
[ Ulm ] -> [ Bautzen ] -> [ Berlin ]
[ 1Bonn ] ..> [ 1Berlin ] -> [ 1Kassel ]
[ 1Bonn ] .-> [ 1Koblenz ]
[ 1Bonn ] -> [ 1Ulm ] -> [ 1Koblenz ]
[ 1Ulm ] -> [ 1Bautzen ] -> [ 1Berlin ]
[ 2Bonn ] ..> [ 2Berlin ] -> [ 2Kassel ]
[ 2Bonn ] .-> [ 2Koblenz ]
[ 2Bonn ] -> [ 2Ulm ] -> [ 2Koblenz ]
[ 2Ulm ] -> [ 2Bautzen ] -> [ 2Berlin ]

View File

@@ -0,0 +1,4 @@
[ Hamm ] <--> [ Hamm ]
[ Hamm ] <--> [ Hamm ]
[ Hamm ] <--> [ Hamm ]
[ Hamm ] <--> [ Hamm ]

View File

@@ -0,0 +1,4 @@
( Group
) { background: yellow; }
[ Outside ]

View File

@@ -0,0 +1 @@
[ One ] --> [ One ]

View File

@@ -0,0 +1,4 @@
[ Main ] -- Until not done --> [ Main ]
[ Main ] -- Until not done --> [ Main ]
[ Main ] -- Until not done --> [ Main ]
[ Main ] -- Until not done --> [ Main ]

View File

@@ -0,0 +1 @@
[ Freiburg ] -- Alle Jahre Wieder --> [ Freiburg ]

View File

@@ -0,0 +1 @@
[A] -- [A ] -- [ A ] -- [ A ] -- [A]

View File

@@ -0,0 +1 @@
[ One ]

View File

@@ -0,0 +1,13 @@
[ | C | ]
[ | D | ]
[ | E | ]
[ | F | ]
[|G|]
[ |H| |]
[ C.2 ] -> [ A1 ]
[ D.2 ] -> [ A2 ]
[ E.2 ] -> [ A3 ]
[ F.2 ] -> [ A4 ]
[ G.2 ] -> [ A5 ]
[ H.3 ] -> [ A6 ]

View File

@@ -0,0 +1,4 @@
graph { autolabel: name, 20; autotitle: name; }
[ Bonn ] { label: Bonn (ehemalige Bundeshauptstadt); } -- Acme Travels Incorporated --> [ Frankfurt (Main) / Flughafen ]

View File

@@ -0,0 +1 @@
[ Siegen | Siegburg ]

View File

@@ -0,0 +1,2 @@
[ A \| B | C ]

View File

@@ -0,0 +1,4 @@
[ Bad Schandau ] { offset: 3,0; origin: Erfurt; }
[ Erfurt ] { size: 2,3; }
[ Erfurt ] <--> [ Bad Schandau ]

View File

@@ -0,0 +1,3 @@
[ Bad Schandau ] { offset: 3,0; origin: Erfurt; }
[ Erfurt ] <--> [ Bad Schandau ]

View File

@@ -0,0 +1,3 @@
node.second { border: double; }
[ A ] { class: SECOND; } --> [ B ] { class: Second; }

View File

@@ -0,0 +1,4 @@
.red { color: red; }
.green, .blue, group { color: blue; }
[ Red ] { class: red; } -- red --> { class: red; } [ Black ] { class: green; }

View File

@@ -0,0 +1 @@
[ Hamburg ] { size: 2,2; } --> [ Altona ] { rows: 2; columns: 3; }

View File

@@ -0,0 +1,2 @@
[ Hamburg ] { size: 2,2; } --> [ Altona ] { rows: 2; columns: 3; }
[ Hamburg ] --> [ Altona ]

View File

@@ -0,0 +1,3 @@
[ Hamburg ] { size: 2,2; } --> [ Altona ] { rows: 2; columns: 3; }
[ Hamburg ] --> [ Altona ]
[ Hamburg ] --> [ Altona ]

View File

@@ -0,0 +1,12 @@
# the following should not confuse the parser
#digraph G {
# a -> b
#}
# neither should this
graph { label:
// digraph G {
}
[ Kummersbach ] -> [ Düsburg ]

View File

@@ -0,0 +1 @@
[ Test\n Test\n Test test test\n test ] { border: dot-dot-dash; } ..-> [ B ] { border: dot-dash; }

View File

@@ -0,0 +1,2 @@
[ One ] --> [ Two ]
[ One ] --> [ Two ]

View File

@@ -0,0 +1,4 @@
graph { flow: 90; }
[ Left ] --> { end: left; start: left; } [ Right ]

View File

@@ -0,0 +1,3 @@
graph { label: My Graph; label-pos: top; }
[ Regensburg ] --> [ Passau ]

View File

@@ -0,0 +1,5 @@
( Test\n group
[ Bonn ] -> [ Berlin ]
)

View File

@@ -0,0 +1,5 @@
( Bergtour:
[ Zugspitze ] --> [ Wasserkuppe ]
) { labelpos: bottom; }

View File

@@ -0,0 +1,5 @@
( Some group:
[ Frankfurt a. Main\n (Flughafen) ] { size: 2,2; } -> [ Berlin ]
)

View File

@@ -0,0 +1,5 @@
( Test\n group
[ Bonn ] -> [ Berlin ]
) { border: none; }

View File

@@ -0,0 +1 @@
[] --> [ Berlin ]

View File

@@ -0,0 +1 @@
[ Bonn ] --> [ ]

View File

@@ -0,0 +1,3 @@
node { label: A; }
[ B ] -> [ C ] { link: http://bloodgate.com; }

View File

@@ -0,0 +1 @@
[ Long Node Label\l left\r right\c center ] -- A\r long\n edge label --> [ B ]

View File

@@ -0,0 +1 @@
[ Bonn ] { border-style: dotted; }, [ Berlin ] { border-style: dashed; }

View File

@@ -0,0 +1 @@
[ My\n long\n node\n name ] -- A\n long\n label --> [ B ]

View File

@@ -0,0 +1,3 @@
[ Berlin\n (W) ] -> [ Berlin\n (O) ] { border: dotted 1px black; }

View File

@@ -0,0 +1,6 @@
graph { flow: 180; }
[ Start ] --> [ Main ]
[ Main ] -- Until not done --> [ Main ]
[ Main ] -- Until not done --> [ Main ]
[ Main ] -- Until not done --> [ Main ]

View File

@@ -0,0 +1,5 @@
graph { flow: 180; }
[ Start ] --> [ Main ]
[ Main ] -- Until not done --> [ Main ]
[ Main ] -- Until done --> [ Main ]

View File

@@ -0,0 +1,2 @@
[ Some \[\] ||
Autosplit ]

View File

@@ -0,0 +1,5 @@
graph { textwrap: 6; }
[ Frankfurt Oder\n Flughafen-Terminal ]
-- Drive a car to the destination -->
[ Small city near a beautiful river ] { text-wrap: 10; align: right; }

View File

@@ -0,0 +1 @@
[0] -- 0 --> [10] { label: 0; } --> { label: 0; } [ 0 ]

View File

@@ -0,0 +1 @@
[ One ] ==> [ Two ]

View File

@@ -0,0 +1,5 @@
[ 1 ] -> [ 23.0 ]
[ 2|3 ]

View File

@@ -0,0 +1,4 @@
[ Berlin ] { offset: 2,0; origin: Bonn; }
[ Frankfurt ] { offset: 2,2; origin: Bonn; }
[ Bonn ] --> [ Frankfurt ]

View File

@@ -0,0 +1,8 @@
[ A ] { flow: east; }
[ B ] { offset: 2,2; origin: A; }
(G
[ A ]
)
[ A ] -- C --> { start: east; end: north; } [ B ] -> [ ]

View File

@@ -0,0 +1,2 @@
# A node-cluster (autosplit into three single nodes)
[ Husum | Schleswig | Flensburg ] { background: #ddaaff; }

View File

@@ -0,0 +1,13 @@
graph
{
fill: rgb(0.1, 100, 10%);
color: 3; # mention color "3" before colorscheme
colorscheme: paired12;
}
[ Colors ] { fill: w3c/grey; }
[ Preserve ] { color: cornflowerblue; }
[ The ] { color: #ff00ff; }
[ Preserve ] --> { color: rgb(33,44,55); } [ The ]
[ The ] --> { color: hsv(1.0,1.0,0.5); } [ Colors ] { color: hsl(300, 1.0, 1.0); }

View File

@@ -0,0 +1,3 @@
[ A ] { label: AB%00%0d%0a } --> [ B ] { label: AB%0aCB; }
-> [ C ] { label: AB%be%f7%01%7f%91; }

View File

@@ -0,0 +1,4 @@
edge.yes { label: Yes; }
edge { label: MyLabel; }
[ A ] --> { class: yes; } [ B ] --> [ C ]

View File

@@ -0,0 +1,4 @@
( Router: [ Input ] --> [ Output ] )
[ Output ] ==> { start: south; end: north; }
[ Network ]

View File

@@ -0,0 +1,2 @@
[ A ] --> { start: front; } [ B ], [ C ]

View File

@@ -0,0 +1 @@
([A]->[B])[C]

View File

@@ -0,0 +1,6 @@
graph { flow: down; }
[ Enschede ] { flow: left; }
[ Enschede ] --> [ Bielefeld ]
[ Bielefeld ] --> [ Wolfsburg ]

View File

@@ -0,0 +1,10 @@
graph { label: My Graph; font-size: 2em; }
node.left { align: left; font-size: 1.5em; }
edge { align: right; }
( Nodes:
[ Right\nAligned ] { align: right; } -- label\n text --> { align: right; }
[ Left\naligned ] { class: left; } -->
[ Center\n aligned ]
) { align: center; border: none; }

View File

@@ -0,0 +1,7 @@
node { align: left; }
node.right { align: right; }
graph { flow: down; }
[ Left ] --> [ Lefty, too ] --> [ Right ]
[ Left ], [ Lefty, too ] { class: none; }
[ Right ] { class: right; }

View File

@@ -0,0 +1 @@
[] --> [ Bonn ] --> [ ]

View File

@@ -0,0 +1,4 @@
[ A ] --> { start: south,0; } [ B ]
[ A ] --> { start: north,0; } [ B ]
[ A ] --> { start: south,0; } [ C ]
[ A ] --> { start: north,0; } [ C ]

View File

@@ -0,0 +1,4 @@
[ Potsdam ], [ Mannheim ] --> { end: back,0; } [ Weimar ]
# [ Weimar ] --> { start: front,0; } [ Finsterwalde ], [ Aschersleben ]

View File

@@ -0,0 +1,2 @@
[ B ] { offset: 2,0; origin: A; }, [ A ] --> { start: south; end: south, 0; } [ C ] { offset: 2,-2; origin: B; }

View File

@@ -0,0 +1,2 @@
[ Bonn ] { border-style: dotted; }, [ Berlin ] { border-style: dashed; }
-- test --> [ Frankfurt ] { border-style: dot-dash; }

View File

@@ -0,0 +1 @@
[ Bonn ], [ Ulm ] -> [ Berlin ]

View File

@@ -0,0 +1,6 @@
[ Default Page ] --> [ Sign Up ]
[ Sign Up ] --> [ Main Page ]
[ Default Page ] .-> [ Main Page ]
[ Default Page ] = > [ Main Page ]
[ Default Page ] - > [ Main Page ]

View File

@@ -0,0 +1,4 @@
[ Start ] --> [ Main ]
[ Main ] -- Until not done --> [ Main ]
[ Main ] --> [ End ]

View File

@@ -0,0 +1,3 @@
[ Adenau ] -> [ Monschau ]
[ Monschau ] -> [ Monschau ]
[ Nideggen ] -> [ Monschau ]

View File

@@ -0,0 +1,5 @@
graph { flow: 180; }
[ Start ] --> [ Main ]
[ Main ] -- Until not done --> [ Main ]
[ Main ] --> [ End ]

View File

@@ -0,0 +1,5 @@
graph { flow: 270; }
[ Start ] --> [ Main ]
[ Main ] -- Until not done --> [ Main ]
[ Main ] --> [ End ]

View File

@@ -0,0 +1,5 @@
graph { flow: 0; }
[ Start ] --> [ Main ]
[ Main ] -- Until not done --> [ Main ]
[ Main ] --> [ End ]

View File

@@ -0,0 +1,10 @@
node { color: silver; }
[ Some ||
Autosplit ||
Node ]
{
basename: u; border: dashed|; color: red|blue;
}

View File

@@ -0,0 +1,2 @@
[ One ] ==> [ Two ]
[ Two ] - > [ Three ]

View File

@@ -0,0 +1,2 @@
[ Hamburg ] --> [ Altona ]
[ Frankfurt ] --> [ Hof ]

View File

@@ -0,0 +1,7 @@
node { title: 100%25; }
[ 1 ] { label: $a = %229%22%3b\nmy $b = 1%3b; }
[ 3 ] { label: $a = %22%3b%25; }
[ 1 ] --> [ 2 ]
[ 3 ] --> [ 4 ]

View File

@@ -0,0 +1,7 @@
node.B { border: dotted; }
node.C { border: dashed; }
node { border: double; }
[ A|B ] { class: |B; }
[ C|D ] { class: C|; }

View File

@@ -0,0 +1,5 @@
[ 1 ] -> [ 23.1 ]
[ 2| |3 ]

View File

@@ -0,0 +1,4 @@
[ 1 ] { size: 1,2; }
[ 2|3 ] { origin: 1; offset: 2,1; }
[ 1 ] -> [ 23.1 ] --> [ 3 ]

View File

@@ -0,0 +1,2 @@
[ A|B ] { shape: |none; }
[ C|D ] { shape: none|; }

View File

@@ -0,0 +1,5 @@
[ Berlin ] { offset: 0,2; origin: Bonn; }
[ Frankfurt ] { offset: 2,2; origin: Bonn; }
[ Ulm ] { offset: 2,0; origin: Bonn; }
[ Bonn ] --> [ Frankfurt ]

View File

@@ -0,0 +1,6 @@
[ u ] --> [ a | b | c ]
# putting the attributes on an extra line failed prior to v0.55 due to
# the basename being wrong:
{ basename: pv; }
[ pv.0 ]

View File

@@ -0,0 +1,9 @@
edge { arrow-style: none; }
[ B ], [ C ], [ D ]
<--> { start: west; end: south, 0; } [ E ] { origin: B; offset: -2,-2; }
[ C ] { origin: B; offset: 0,2; }
[ D ] { origin: C; offset: 0,2; }

View File

@@ -0,0 +1,5 @@
[ A B C ] - A B C D -> [ X Z Y ]
node.i { label: "S P A C Y"; }
[ A ] { label: "S P A C E"; } --> { label: "S P A C E"; } [ B ] { class: i; }

View File

@@ -0,0 +1,2 @@
[ 1 ], [ 2 ], [ 3 ] -> [ 4 ]

View File

@@ -0,0 +1,6 @@
[ A ]
--> { style: solid; }
[ B ] { origin: A; offset: 40,0; }
[ C ] { offset: 20,-20; origin: A; }
--> { style: dashed; }
[ D ] { origin: C; offset: 0,40; }

View File

@@ -0,0 +1,6 @@
[ A ]
--> { style: invisible; }
[ B ] { origin: A; offset: 40,0; }
[ C ] { offset: 20,-20; origin: A; }
--> { style: dashed; }
[ D ] { origin: C; offset: 0,40; }

View File

@@ -0,0 +1,6 @@
( Cross: [A],[B],[C],[D] )
[ A ] --> [ B ] { offset: 4,0; origin: A; }
[ C ] { offset: 2,-2; origin: A; } --> [ D ] { offset: 2,2; origin: A; }

View File

@@ -0,0 +1,6 @@
( Cross: [A],[B],[C],[D] )
[ A ] --> [ B ] { offset: 0,4; origin: A; }
[ C ] { offset: -2,2; origin: A; } --> [ D ] { offset: 2,2; origin: A; }

View File

@@ -0,0 +1,6 @@
[E1] --> [S1]
[E1] --> [S2]
[E1] --> [E2]
[E2] --> [S1]
[E2] --> [S2]
[S1] --> [S2]

View File

@@ -0,0 +1,3 @@
[ Bonn ] == train ==> [ Berlin ] .. bus ..> [ Potsdam ]
[ Berlin ] .- bike .-> [ Ulm ]
[ Bonn ] -- car --> [ Potsdam ]

View File

@@ -0,0 +1,2 @@
[ Bingen ] <--> [ Mainz ]
[ Bischofswerde ] -- test-text --> [ Finsterwalde ]

View File

@@ -0,0 +1,5 @@
[ 1 ] -> [ 2 ] { fill: red; }
[ 3|4 ] { fill: red; }

View File

@@ -0,0 +1,4 @@
[ 1 ] -> [ 2 ]
[ 3 ] [ 4 ] { origin: 3; offset: 1,0; }

View File

@@ -0,0 +1,5 @@
[ Passau ]
-> { flow: down; } [ Siegen ]
-> { flow: right; } [ Regensburg ]
[ Siegen ] -> { flow: left; } [ Aschaffenburg ]

View File

@@ -0,0 +1,4 @@
[ Bonn ]
-> { flow: forward; } [ Berlin ]
[ Bonn ] -> [ Cottbus ] --> [ Ulm ]

View File

@@ -0,0 +1,6 @@
[ Bischofswerda ] -> [ You don't see me! ] { shape: invisible; }
-> [ Borna ] { shape: point; point-style: invisible; }
-> [ Bremen ]
[ You don't see me! ] -> [ Bischofswerda ]

View File

@@ -0,0 +1,4 @@
[ B ] { offset: 2,0; origin: A; size: 2,1; }, [ A ] --> { start: south; end: south, 0; } [ C ] { offset: 2,-2; origin: B; }
[ B ] --> [ U ]

View File

@@ -0,0 +1,8 @@
[ B ], [ C ], [ D ]
<--> { start: west; end: south, 0; } [ E ] { origin: B; offset: -2,-2; }
[ C ] { origin: B; offset: 0,2; }
[ D ] { origin: C; offset: 0,2; }

View File

@@ -0,0 +1,2 @@
[ Bonn ] { border-style: dotted; }, [ Berlin ] { border-style: dashed; }
-- test --> [ Frankfurt ] { border-style: dot-dash; }, [ Frankfurt (Oder) ] { border-style: dot-dot-dash; }

View File

@@ -0,0 +1 @@
[ Bonn ], [ Ulm ] -> [ Berlin ], [ Frankfurt ]

View File

@@ -0,0 +1,2 @@
[ Berlin ] --> { minlen: 4; } [ Potsdam ], [ Cottbus ], [ Leipzig ]

Some files were not shown because too many files have changed in this diff Show More