first commit
This commit is contained in:
1
perl/lib/Graph-Easy-0.76/t/in/0_empty_group.txt
Normal file
1
perl/lib/Graph-Easy-0.76/t/in/0_empty_group.txt
Normal file
@@ -0,0 +1 @@
|
||||
(Group without a name)
|
||||
1
perl/lib/Graph-Easy-0.76/t/in/0_empty_groups.txt
Normal file
1
perl/lib/Graph-Easy-0.76/t/in/0_empty_groups.txt
Normal file
@@ -0,0 +1 @@
|
||||
()->()->()
|
||||
30
perl/lib/Graph-Easy-0.76/t/in/10_repair.txt
Normal file
30
perl/lib/Graph-Easy-0.76/t/in/10_repair.txt
Normal 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 ]
|
||||
7
perl/lib/Graph-Easy-0.76/t/in/10borders.txt
Normal file
7
perl/lib/Graph-Easy-0.76/t/in/10borders.txt
Normal 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; }
|
||||
|
||||
19
perl/lib/Graph-Easy-0.76/t/in/18_multiples.txt
Normal file
19
perl/lib/Graph-Easy-0.76/t/in/18_multiples.txt
Normal 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 ]
|
||||
|
||||
4
perl/lib/Graph-Easy-0.76/t/in/1_bidi_loop.txt
Normal file
4
perl/lib/Graph-Easy-0.76/t/in/1_bidi_loop.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
[ Hamm ] <--> [ Hamm ]
|
||||
[ Hamm ] <--> [ Hamm ]
|
||||
[ Hamm ] <--> [ Hamm ]
|
||||
[ Hamm ] <--> [ Hamm ]
|
||||
4
perl/lib/Graph-Easy-0.76/t/in/1_empty_group.txt
Normal file
4
perl/lib/Graph-Easy-0.76/t/in/1_empty_group.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
( Group
|
||||
) { background: yellow; }
|
||||
|
||||
[ Outside ]
|
||||
1
perl/lib/Graph-Easy-0.76/t/in/1_selfloop.txt
Normal file
1
perl/lib/Graph-Easy-0.76/t/in/1_selfloop.txt
Normal file
@@ -0,0 +1 @@
|
||||
[ One ] --> [ One ]
|
||||
4
perl/lib/Graph-Easy-0.76/t/in/1_selfloop_2.txt
Normal file
4
perl/lib/Graph-Easy-0.76/t/in/1_selfloop_2.txt
Normal 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 ]
|
||||
1
perl/lib/Graph-Easy-0.76/t/in/1_selfloop_label.txt
Normal file
1
perl/lib/Graph-Easy-0.76/t/in/1_selfloop_label.txt
Normal file
@@ -0,0 +1 @@
|
||||
[ Freiburg ] -- Alle Jahre Wieder --> [ Freiburg ]
|
||||
1
perl/lib/Graph-Easy-0.76/t/in/1_undirected_loop.txt
Normal file
1
perl/lib/Graph-Easy-0.76/t/in/1_undirected_loop.txt
Normal file
@@ -0,0 +1 @@
|
||||
[A] -- [A ] -- [ A ] -- [ A ] -- [A]
|
||||
1
perl/lib/Graph-Easy-0.76/t/in/1node.txt
Normal file
1
perl/lib/Graph-Easy-0.76/t/in/1node.txt
Normal file
@@ -0,0 +1 @@
|
||||
[ One ]
|
||||
13
perl/lib/Graph-Easy-0.76/t/in/25_autosplit_empty.txt
Normal file
13
perl/lib/Graph-Easy-0.76/t/in/25_autosplit_empty.txt
Normal 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 ]
|
||||
4
perl/lib/Graph-Easy-0.76/t/in/2_autolabel.txt
Normal file
4
perl/lib/Graph-Easy-0.76/t/in/2_autolabel.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
graph { autolabel: name, 20; autotitle: name; }
|
||||
|
||||
[ Bonn ] { label: Bonn (ehemalige Bundeshauptstadt); } -- Acme Travels Incorporated --> [ Frankfurt (Main) / Flughafen ]
|
||||
|
||||
1
perl/lib/Graph-Easy-0.76/t/in/2_autosplit_empty.txt
Normal file
1
perl/lib/Graph-Easy-0.76/t/in/2_autosplit_empty.txt
Normal file
@@ -0,0 +1 @@
|
||||
[ Siegen | Siegburg ]
|
||||
2
perl/lib/Graph-Easy-0.76/t/in/2_autosplit_escaped.txt
Normal file
2
perl/lib/Graph-Easy-0.76/t/in/2_autosplit_escaped.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
|
||||
[ A \| B | C ]
|
||||
4
perl/lib/Graph-Easy-0.76/t/in/2_bidi_astar.txt
Normal file
4
perl/lib/Graph-Easy-0.76/t/in/2_bidi_astar.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
[ Bad Schandau ] { offset: 3,0; origin: Erfurt; }
|
||||
[ Erfurt ] { size: 2,3; }
|
||||
|
||||
[ Erfurt ] <--> [ Bad Schandau ]
|
||||
3
perl/lib/Graph-Easy-0.76/t/in/2_bidi_endpoint.txt
Normal file
3
perl/lib/Graph-Easy-0.76/t/in/2_bidi_endpoint.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
[ Bad Schandau ] { offset: 3,0; origin: Erfurt; }
|
||||
|
||||
[ Erfurt ] <--> [ Bad Schandau ]
|
||||
3
perl/lib/Graph-Easy-0.76/t/in/2_class.txt
Normal file
3
perl/lib/Graph-Easy-0.76/t/in/2_class.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
node.second { border: double; }
|
||||
|
||||
[ A ] { class: SECOND; } --> [ B ] { class: Second; }
|
||||
4
perl/lib/Graph-Easy-0.76/t/in/2_classes.txt
Normal file
4
perl/lib/Graph-Easy-0.76/t/in/2_classes.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
.red { color: red; }
|
||||
.green, .blue, group { color: blue; }
|
||||
|
||||
[ Red ] { class: red; } -- red --> { class: red; } [ Black ] { class: green; }
|
||||
1
perl/lib/Graph-Easy-0.76/t/in/2_cluster.txt
Normal file
1
perl/lib/Graph-Easy-0.76/t/in/2_cluster.txt
Normal file
@@ -0,0 +1 @@
|
||||
[ Hamburg ] { size: 2,2; } --> [ Altona ] { rows: 2; columns: 3; }
|
||||
2
perl/lib/Graph-Easy-0.76/t/in/2_cluster_2.txt
Normal file
2
perl/lib/Graph-Easy-0.76/t/in/2_cluster_2.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
[ Hamburg ] { size: 2,2; } --> [ Altona ] { rows: 2; columns: 3; }
|
||||
[ Hamburg ] --> [ Altona ]
|
||||
3
perl/lib/Graph-Easy-0.76/t/in/2_cluster_3.txt
Normal file
3
perl/lib/Graph-Easy-0.76/t/in/2_cluster_3.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
[ Hamburg ] { size: 2,2; } --> [ Altona ] { rows: 2; columns: 3; }
|
||||
[ Hamburg ] --> [ Altona ]
|
||||
[ Hamburg ] --> [ Altona ]
|
||||
12
perl/lib/Graph-Easy-0.76/t/in/2_dot.txt
Normal file
12
perl/lib/Graph-Easy-0.76/t/in/2_dot.txt
Normal 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 ]
|
||||
1
perl/lib/Graph-Easy-0.76/t/in/2_dot_dot_dash.txt
Normal file
1
perl/lib/Graph-Easy-0.76/t/in/2_dot_dot_dash.txt
Normal file
@@ -0,0 +1 @@
|
||||
[ Test\n Test\n Test test test\n test ] { border: dot-dot-dash; } ..-> [ B ] { border: dot-dash; }
|
||||
2
perl/lib/Graph-Easy-0.76/t/in/2_edges.txt
Normal file
2
perl/lib/Graph-Easy-0.76/t/in/2_edges.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
[ One ] --> [ Two ]
|
||||
[ One ] --> [ Two ]
|
||||
4
perl/lib/Graph-Easy-0.76/t/in/2_flow.txt
Normal file
4
perl/lib/Graph-Easy-0.76/t/in/2_flow.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
graph { flow: 90; }
|
||||
|
||||
[ Left ] --> { end: left; start: left; } [ Right ]
|
||||
|
||||
3
perl/lib/Graph-Easy-0.76/t/in/2_graph_label.txt
Normal file
3
perl/lib/Graph-Easy-0.76/t/in/2_graph_label.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
graph { label: My Graph; label-pos: top; }
|
||||
|
||||
[ Regensburg ] --> [ Passau ]
|
||||
5
perl/lib/Graph-Easy-0.76/t/in/2_group.txt
Normal file
5
perl/lib/Graph-Easy-0.76/t/in/2_group.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
( Test\n group
|
||||
|
||||
[ Bonn ] -> [ Berlin ]
|
||||
|
||||
)
|
||||
5
perl/lib/Graph-Easy-0.76/t/in/2_group_labelpos.txt
Normal file
5
perl/lib/Graph-Easy-0.76/t/in/2_group_labelpos.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
( Bergtour:
|
||||
|
||||
[ Zugspitze ] --> [ Wasserkuppe ]
|
||||
|
||||
) { labelpos: bottom; }
|
||||
5
perl/lib/Graph-Easy-0.76/t/in/2_group_multicell.txt
Normal file
5
perl/lib/Graph-Easy-0.76/t/in/2_group_multicell.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
( Some group:
|
||||
[ Frankfurt a. Main\n (Flughafen) ] { size: 2,2; } -> [ Berlin ]
|
||||
|
||||
)
|
||||
5
perl/lib/Graph-Easy-0.76/t/in/2_group_no_border.txt
Normal file
5
perl/lib/Graph-Easy-0.76/t/in/2_group_no_border.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
( Test\n group
|
||||
|
||||
[ Bonn ] -> [ Berlin ]
|
||||
|
||||
) { border: none; }
|
||||
1
perl/lib/Graph-Easy-0.76/t/in/2_invisible_left.txt
Normal file
1
perl/lib/Graph-Easy-0.76/t/in/2_invisible_left.txt
Normal file
@@ -0,0 +1 @@
|
||||
[] --> [ Berlin ]
|
||||
1
perl/lib/Graph-Easy-0.76/t/in/2_invisible_right.txt
Normal file
1
perl/lib/Graph-Easy-0.76/t/in/2_invisible_right.txt
Normal file
@@ -0,0 +1 @@
|
||||
[ Bonn ] --> [ ]
|
||||
3
perl/lib/Graph-Easy-0.76/t/in/2_label.txt
Normal file
3
perl/lib/Graph-Easy-0.76/t/in/2_label.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
node { label: A; }
|
||||
|
||||
[ B ] -> [ C ] { link: http://bloodgate.com; }
|
||||
1
perl/lib/Graph-Easy-0.76/t/in/2_label_align.txt
Normal file
1
perl/lib/Graph-Easy-0.76/t/in/2_label_align.txt
Normal file
@@ -0,0 +1 @@
|
||||
[ Long Node Label\l left\r right\c center ] -- A\r long\n edge label --> [ B ]
|
||||
1
perl/lib/Graph-Easy-0.76/t/in/2_list_attr.txt
Normal file
1
perl/lib/Graph-Easy-0.76/t/in/2_list_attr.txt
Normal file
@@ -0,0 +1 @@
|
||||
[ Bonn ] { border-style: dotted; }, [ Berlin ] { border-style: dashed; }
|
||||
1
perl/lib/Graph-Easy-0.76/t/in/2_long_labels.txt
Normal file
1
perl/lib/Graph-Easy-0.76/t/in/2_long_labels.txt
Normal file
@@ -0,0 +1 @@
|
||||
[ My\n long\n node\n name ] -- A\n long\n label --> [ B ]
|
||||
3
perl/lib/Graph-Easy-0.76/t/in/2_newlines.txt
Normal file
3
perl/lib/Graph-Easy-0.76/t/in/2_newlines.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
|
||||
[ Berlin\n (W) ] -> [ Berlin\n (O) ] { border: dotted 1px black; }
|
||||
|
||||
6
perl/lib/Graph-Easy-0.76/t/in/2_selfloop.txt
Normal file
6
perl/lib/Graph-Easy-0.76/t/in/2_selfloop.txt
Normal 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 ]
|
||||
5
perl/lib/Graph-Easy-0.76/t/in/2_selfloop_flow_down.txt
Normal file
5
perl/lib/Graph-Easy-0.76/t/in/2_selfloop_flow_down.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
graph { flow: 180; }
|
||||
|
||||
[ Start ] --> [ Main ]
|
||||
[ Main ] -- Until not done --> [ Main ]
|
||||
[ Main ] -- Until done --> [ Main ]
|
||||
2
perl/lib/Graph-Easy-0.76/t/in/2_split_bug.txt
Normal file
2
perl/lib/Graph-Easy-0.76/t/in/2_split_bug.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
[ Some \[\] ||
|
||||
Autosplit ]
|
||||
5
perl/lib/Graph-Easy-0.76/t/in/2_wrap.txt
Normal file
5
perl/lib/Graph-Easy-0.76/t/in/2_wrap.txt
Normal 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; }
|
||||
1
perl/lib/Graph-Easy-0.76/t/in/2_zeros.txt
Normal file
1
perl/lib/Graph-Easy-0.76/t/in/2_zeros.txt
Normal file
@@ -0,0 +1 @@
|
||||
[0] -- 0 --> [10] { label: 0; } --> { label: 0; } [ 0 ]
|
||||
1
perl/lib/Graph-Easy-0.76/t/in/2nodes.txt
Normal file
1
perl/lib/Graph-Easy-0.76/t/in/2nodes.txt
Normal file
@@ -0,0 +1 @@
|
||||
[ One ] ==> [ Two ]
|
||||
5
perl/lib/Graph-Easy-0.76/t/in/3_autosplit_hang.txt
Normal file
5
perl/lib/Graph-Easy-0.76/t/in/3_autosplit_hang.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
[ 1 ] -> [ 23.0 ]
|
||||
[ 2|3 ]
|
||||
|
||||
|
||||
4
perl/lib/Graph-Easy-0.76/t/in/3_bend_bug.txt
Normal file
4
perl/lib/Graph-Easy-0.76/t/in/3_bend_bug.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
[ Berlin ] { offset: 2,0; origin: Bonn; }
|
||||
[ Frankfurt ] { offset: 2,2; origin: Bonn; }
|
||||
|
||||
[ Bonn ] --> [ Frankfurt ]
|
||||
8
perl/lib/Graph-Easy-0.76/t/in/3_cache_bug.txt
Normal file
8
perl/lib/Graph-Easy-0.76/t/in/3_cache_bug.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
[ A ] { flow: east; }
|
||||
[ B ] { offset: 2,2; origin: A; }
|
||||
|
||||
(G
|
||||
[ A ]
|
||||
)
|
||||
[ A ] -- C --> { start: east; end: north; } [ B ] -> [ ]
|
||||
|
||||
2
perl/lib/Graph-Easy-0.76/t/in/3_cluster.txt
Normal file
2
perl/lib/Graph-Easy-0.76/t/in/3_cluster.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
# A node-cluster (autosplit into three single nodes)
|
||||
[ Husum | Schleswig | Flensburg ] { background: #ddaaff; }
|
||||
13
perl/lib/Graph-Easy-0.76/t/in/3_colors.txt
Normal file
13
perl/lib/Graph-Easy-0.76/t/in/3_colors.txt
Normal 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); }
|
||||
3
perl/lib/Graph-Easy-0.76/t/in/3_corrupt.txt
Normal file
3
perl/lib/Graph-Easy-0.76/t/in/3_corrupt.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
|
||||
[ A ] { label: AB%00%0d%0a } --> [ B ] { label: AB%0aCB; }
|
||||
-> [ C ] { label: AB%be%f7%01%7f%91; }
|
||||
@@ -0,0 +1,4 @@
|
||||
edge.yes { label: Yes; }
|
||||
edge { label: MyLabel; }
|
||||
|
||||
[ A ] --> { class: yes; } [ B ] --> [ C ]
|
||||
4
perl/lib/Graph-Easy-0.76/t/in/3_edge_repair.txt
Normal file
4
perl/lib/Graph-Easy-0.76/t/in/3_edge_repair.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
( Router: [ Input ] --> [ Output ] )
|
||||
|
||||
[ Output ] ==> { start: south; end: north; }
|
||||
[ Network ]
|
||||
2
perl/lib/Graph-Easy-0.76/t/in/3_edge_start.txt
Normal file
2
perl/lib/Graph-Easy-0.76/t/in/3_edge_start.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
|
||||
[ A ] --> { start: front; } [ B ], [ C ]
|
||||
1
perl/lib/Graph-Easy-0.76/t/in/3_empty_group.txt
Normal file
1
perl/lib/Graph-Easy-0.76/t/in/3_empty_group.txt
Normal file
@@ -0,0 +1 @@
|
||||
([A]->[B])[C]
|
||||
6
perl/lib/Graph-Easy-0.76/t/in/3_flow.txt
Normal file
6
perl/lib/Graph-Easy-0.76/t/in/3_flow.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
graph { flow: down; }
|
||||
|
||||
[ Enschede ] { flow: left; }
|
||||
|
||||
[ Enschede ] --> [ Bielefeld ]
|
||||
[ Bielefeld ] --> [ Wolfsburg ]
|
||||
10
perl/lib/Graph-Easy-0.76/t/in/3_group_align_center.txt
Normal file
10
perl/lib/Graph-Easy-0.76/t/in/3_group_align_center.txt
Normal 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; }
|
||||
|
||||
7
perl/lib/Graph-Easy-0.76/t/in/3_inherit.txt
Normal file
7
perl/lib/Graph-Easy-0.76/t/in/3_inherit.txt
Normal 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; }
|
||||
1
perl/lib/Graph-Easy-0.76/t/in/3_invisible_both.txt
Normal file
1
perl/lib/Graph-Easy-0.76/t/in/3_invisible_both.txt
Normal file
@@ -0,0 +1 @@
|
||||
[] --> [ Bonn ] --> [ ]
|
||||
4
perl/lib/Graph-Easy-0.76/t/in/3_joining.txt
Normal file
4
perl/lib/Graph-Easy-0.76/t/in/3_joining.txt
Normal 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 ]
|
||||
4
perl/lib/Graph-Easy-0.76/t/in/3_joint.txt
Normal file
4
perl/lib/Graph-Easy-0.76/t/in/3_joint.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
[ Potsdam ], [ Mannheim ] --> { end: back,0; } [ Weimar ]
|
||||
|
||||
# [ Weimar ] --> { start: front,0; } [ Finsterwalde ], [ Aschersleben ]
|
||||
2
perl/lib/Graph-Easy-0.76/t/in/3_joint_short.txt
Normal file
2
perl/lib/Graph-Easy-0.76/t/in/3_joint_short.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
|
||||
[ B ] { offset: 2,0; origin: A; }, [ A ] --> { start: south; end: south, 0; } [ C ] { offset: 2,-2; origin: B; }
|
||||
2
perl/lib/Graph-Easy-0.76/t/in/3_list_attr.txt
Normal file
2
perl/lib/Graph-Easy-0.76/t/in/3_list_attr.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
[ Bonn ] { border-style: dotted; }, [ Berlin ] { border-style: dashed; }
|
||||
-- test --> [ Frankfurt ] { border-style: dot-dash; }
|
||||
1
perl/lib/Graph-Easy-0.76/t/in/3_lists.txt
Normal file
1
perl/lib/Graph-Easy-0.76/t/in/3_lists.txt
Normal file
@@ -0,0 +1 @@
|
||||
[ Bonn ], [ Ulm ] -> [ Berlin ]
|
||||
6
perl/lib/Graph-Easy-0.76/t/in/3_nodes_5_edges.txt
Normal file
6
perl/lib/Graph-Easy-0.76/t/in/3_nodes_5_edges.txt
Normal 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 ]
|
||||
|
||||
4
perl/lib/Graph-Easy-0.76/t/in/3_selfloop.txt
Normal file
4
perl/lib/Graph-Easy-0.76/t/in/3_selfloop.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
[ Start ] --> [ Main ]
|
||||
|
||||
[ Main ] -- Until not done --> [ Main ]
|
||||
[ Main ] --> [ End ]
|
||||
3
perl/lib/Graph-Easy-0.76/t/in/3_selfloop_flip.txt
Normal file
3
perl/lib/Graph-Easy-0.76/t/in/3_selfloop_flip.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
[ Adenau ] -> [ Monschau ]
|
||||
[ Monschau ] -> [ Monschau ]
|
||||
[ Nideggen ] -> [ Monschau ]
|
||||
5
perl/lib/Graph-Easy-0.76/t/in/3_selfloop_flow_down.txt
Normal file
5
perl/lib/Graph-Easy-0.76/t/in/3_selfloop_flow_down.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
graph { flow: 180; }
|
||||
|
||||
[ Start ] --> [ Main ]
|
||||
[ Main ] -- Until not done --> [ Main ]
|
||||
[ Main ] --> [ End ]
|
||||
5
perl/lib/Graph-Easy-0.76/t/in/3_selfloop_flow_left.txt
Normal file
5
perl/lib/Graph-Easy-0.76/t/in/3_selfloop_flow_left.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
graph { flow: 270; }
|
||||
|
||||
[ Start ] --> [ Main ]
|
||||
[ Main ] -- Until not done --> [ Main ]
|
||||
[ Main ] --> [ End ]
|
||||
5
perl/lib/Graph-Easy-0.76/t/in/3_selfloop_flow_up.txt
Normal file
5
perl/lib/Graph-Easy-0.76/t/in/3_selfloop_flow_up.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
graph { flow: 0; }
|
||||
|
||||
[ Start ] --> [ Main ]
|
||||
[ Main ] -- Until not done --> [ Main ]
|
||||
[ Main ] --> [ End ]
|
||||
10
perl/lib/Graph-Easy-0.76/t/in/3_split_attribute.txt
Normal file
10
perl/lib/Graph-Easy-0.76/t/in/3_split_attribute.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
node { color: silver; }
|
||||
|
||||
[ Some ||
|
||||
Autosplit ||
|
||||
Node ]
|
||||
|
||||
{
|
||||
|
||||
basename: u; border: dashed|; color: red|blue;
|
||||
}
|
||||
2
perl/lib/Graph-Easy-0.76/t/in/3nodes.txt
Normal file
2
perl/lib/Graph-Easy-0.76/t/in/3nodes.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
[ One ] ==> [ Two ]
|
||||
[ Two ] - > [ Three ]
|
||||
2
perl/lib/Graph-Easy-0.76/t/in/4_2x2nodes.txt
Normal file
2
perl/lib/Graph-Easy-0.76/t/in/4_2x2nodes.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
[ Hamburg ] --> [ Altona ]
|
||||
[ Frankfurt ] --> [ Hof ]
|
||||
7
perl/lib/Graph-Easy-0.76/t/in/4_att.txt
Normal file
7
perl/lib/Graph-Easy-0.76/t/in/4_att.txt
Normal 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 ]
|
||||
7
perl/lib/Graph-Easy-0.76/t/in/4_autosplit_class.txt
Normal file
7
perl/lib/Graph-Easy-0.76/t/in/4_autosplit_class.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
|
||||
node.B { border: dotted; }
|
||||
node.C { border: dashed; }
|
||||
node { border: double; }
|
||||
|
||||
[ A|B ] { class: |B; }
|
||||
[ C|D ] { class: C|; }
|
||||
5
perl/lib/Graph-Easy-0.76/t/in/4_autosplit_empty.txt
Normal file
5
perl/lib/Graph-Easy-0.76/t/in/4_autosplit_empty.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
[ 1 ] -> [ 23.1 ]
|
||||
|
||||
[ 2| |3 ]
|
||||
|
||||
4
perl/lib/Graph-Easy-0.76/t/in/4_autosplit_offset.txt
Normal file
4
perl/lib/Graph-Easy-0.76/t/in/4_autosplit_offset.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
[ 1 ] { size: 1,2; }
|
||||
[ 2|3 ] { origin: 1; offset: 2,1; }
|
||||
|
||||
[ 1 ] -> [ 23.1 ] --> [ 3 ]
|
||||
2
perl/lib/Graph-Easy-0.76/t/in/4_autosplit_shape.txt
Normal file
2
perl/lib/Graph-Easy-0.76/t/in/4_autosplit_shape.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
[ A|B ] { shape: |none; }
|
||||
[ C|D ] { shape: none|; }
|
||||
5
perl/lib/Graph-Easy-0.76/t/in/4_bend_bug.txt
Normal file
5
perl/lib/Graph-Easy-0.76/t/in/4_bend_bug.txt
Normal 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 ]
|
||||
6
perl/lib/Graph-Easy-0.76/t/in/4_bug_basename.txt
Normal file
6
perl/lib/Graph-Easy-0.76/t/in/4_bug_basename.txt
Normal 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 ]
|
||||
9
perl/lib/Graph-Easy-0.76/t/in/4_bug_joint_2.txt
Normal file
9
perl/lib/Graph-Easy-0.76/t/in/4_bug_joint_2.txt
Normal 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; }
|
||||
|
||||
5
perl/lib/Graph-Easy-0.76/t/in/4_collapse.txt
Normal file
5
perl/lib/Graph-Easy-0.76/t/in/4_collapse.txt
Normal 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; }
|
||||
2
perl/lib/Graph-Easy-0.76/t/in/4_comma.txt
Normal file
2
perl/lib/Graph-Easy-0.76/t/in/4_comma.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
|
||||
[ 1 ], [ 2 ], [ 3 ] -> [ 4 ]
|
||||
6
perl/lib/Graph-Easy-0.76/t/in/4_cross.txt
Normal file
6
perl/lib/Graph-Easy-0.76/t/in/4_cross.txt
Normal 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; }
|
||||
6
perl/lib/Graph-Easy-0.76/t/in/4_cross_inv.txt
Normal file
6
perl/lib/Graph-Easy-0.76/t/in/4_cross_inv.txt
Normal 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; }
|
||||
6
perl/lib/Graph-Easy-0.76/t/in/4_cross_split.txt
Normal file
6
perl/lib/Graph-Easy-0.76/t/in/4_cross_split.txt
Normal 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; }
|
||||
|
||||
6
perl/lib/Graph-Easy-0.76/t/in/4_cross_split_hor.txt
Normal file
6
perl/lib/Graph-Easy-0.76/t/in/4_cross_split_hor.txt
Normal 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; }
|
||||
|
||||
6
perl/lib/Graph-Easy-0.76/t/in/4_edge_cross.txt
Normal file
6
perl/lib/Graph-Easy-0.76/t/in/4_edge_cross.txt
Normal file
@@ -0,0 +1,6 @@
|
||||
[E1] --> [S1]
|
||||
[E1] --> [S2]
|
||||
[E1] --> [E2]
|
||||
[E2] --> [S1]
|
||||
[E2] --> [S2]
|
||||
[S1] --> [S2]
|
||||
3
perl/lib/Graph-Easy-0.76/t/in/4_edge_labels.txt
Normal file
3
perl/lib/Graph-Easy-0.76/t/in/4_edge_labels.txt
Normal file
@@ -0,0 +1,3 @@
|
||||
[ Bonn ] == train ==> [ Berlin ] .. bus ..> [ Potsdam ]
|
||||
[ Berlin ] .- bike .-> [ Ulm ]
|
||||
[ Bonn ] -- car --> [ Potsdam ]
|
||||
2
perl/lib/Graph-Easy-0.76/t/in/4_edge_types.txt
Normal file
2
perl/lib/Graph-Easy-0.76/t/in/4_edge_types.txt
Normal file
@@ -0,0 +1,2 @@
|
||||
[ Bingen ] <--> [ Mainz ]
|
||||
[ Bischofswerde ] -- test-text --> [ Finsterwalde ]
|
||||
5
perl/lib/Graph-Easy-0.76/t/in/4_endless_loop.txt
Normal file
5
perl/lib/Graph-Easy-0.76/t/in/4_endless_loop.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
|
||||
[ 1 ] -> [ 2 ] { fill: red; }
|
||||
|
||||
[ 3|4 ] { fill: red; }
|
||||
|
||||
4
perl/lib/Graph-Easy-0.76/t/in/4_endless_loop_2.txt
Normal file
4
perl/lib/Graph-Easy-0.76/t/in/4_endless_loop_2.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
[ 1 ] -> [ 2 ]
|
||||
|
||||
[ 3 ] [ 4 ] { origin: 3; offset: 1,0; }
|
||||
5
perl/lib/Graph-Easy-0.76/t/in/4_flow.txt
Normal file
5
perl/lib/Graph-Easy-0.76/t/in/4_flow.txt
Normal file
@@ -0,0 +1,5 @@
|
||||
[ Passau ]
|
||||
-> { flow: down; } [ Siegen ]
|
||||
-> { flow: right; } [ Regensburg ]
|
||||
|
||||
[ Siegen ] -> { flow: left; } [ Aschaffenburg ]
|
||||
4
perl/lib/Graph-Easy-0.76/t/in/4_flow_chain.txt
Normal file
4
perl/lib/Graph-Easy-0.76/t/in/4_flow_chain.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
[ Bonn ]
|
||||
-> { flow: forward; } [ Berlin ]
|
||||
[ Bonn ] -> [ Cottbus ] --> [ Ulm ]
|
||||
6
perl/lib/Graph-Easy-0.76/t/in/4_invisible.txt
Normal file
6
perl/lib/Graph-Easy-0.76/t/in/4_invisible.txt
Normal 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 ]
|
||||
|
||||
4
perl/lib/Graph-Easy-0.76/t/in/4_joint.txt
Normal file
4
perl/lib/Graph-Easy-0.76/t/in/4_joint.txt
Normal 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 ]
|
||||
8
perl/lib/Graph-Easy-0.76/t/in/4_joint_bug_flags.txt
Normal file
8
perl/lib/Graph-Easy-0.76/t/in/4_joint_bug_flags.txt
Normal 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; }
|
||||
|
||||
2
perl/lib/Graph-Easy-0.76/t/in/4_list_attr.txt
Normal file
2
perl/lib/Graph-Easy-0.76/t/in/4_list_attr.txt
Normal 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; }
|
||||
1
perl/lib/Graph-Easy-0.76/t/in/4_lists.txt
Normal file
1
perl/lib/Graph-Easy-0.76/t/in/4_lists.txt
Normal file
@@ -0,0 +1 @@
|
||||
[ Bonn ], [ Ulm ] -> [ Berlin ], [ Frankfurt ]
|
||||
2
perl/lib/Graph-Easy-0.76/t/in/4_minlen.txt
Normal file
2
perl/lib/Graph-Easy-0.76/t/in/4_minlen.txt
Normal 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
Reference in New Issue
Block a user