first commit
This commit is contained in:
7
perl/lib/Graph-Easy-0.76/t/txt/dot/0_empty.txt
Normal file
7
perl/lib/Graph-Easy-0.76/t/txt/dot/0_empty.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
title: unnamed;
|
||||
}
|
||||
|
||||
12
perl/lib/Graph-Easy-0.76/t/txt/dot/10_numbers.txt
Normal file
12
perl/lib/Graph-Easy-0.76/t/txt/dot/10_numbers.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
title: G;
|
||||
}
|
||||
|
||||
[ -100 ] --> [ 123.1230 ]
|
||||
[ .1 ] --> [ -1. ]
|
||||
[ .99 ] --> [ 0. ]
|
||||
[ 0.99 ] --> [ 12.88 ]
|
||||
[ 00019.1001 ] --> [ 1000. ]
|
||||
16
perl/lib/Graph-Easy-0.76/t/txt/dot/16_split.txt
Normal file
16
perl/lib/Graph-Easy-0.76/t/txt/dot/16_split.txt
Normal file
@@ -0,0 +1,16 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
title: SPLIT;
|
||||
}
|
||||
|
||||
[ nil| | | 0 ] { basename: 0; }
|
||||
[ nil| | | 1 ] { basename: 1; }
|
||||
[ nil| | | 2 ] { basename: 2; }
|
||||
[ nil| | | 3 ] { basename: 3; }
|
||||
|
||||
[ 0.0 ] --> [ 1.3 ]
|
||||
[ 0.3 ] --> [ 1.0 ]
|
||||
[ 2.0 ] --> [ 3.3 ]
|
||||
[ 2.3 ] --> [ 3.0 ]
|
||||
8
perl/lib/Graph-Easy-0.76/t/txt/dot/2_bool.txt
Normal file
8
perl/lib/Graph-Easy-0.76/t/txt/dot/2_bool.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
title: G;
|
||||
}
|
||||
|
||||
[ Bonn ] --> [ Berlin ]
|
||||
10
perl/lib/Graph-Easy-0.76/t/txt/dot/2_comment_inside_attr.txt
Normal file
10
perl/lib/Graph-Easy-0.76/t/txt/dot/2_comment_inside_attr.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
title: G;
|
||||
}
|
||||
|
||||
[ a ] { label: a; }
|
||||
|
||||
[ a ] --> [ b ]
|
||||
10
perl/lib/Graph-Easy-0.76/t/txt/dot/2_graph_label_bottom.txt
Normal file
10
perl/lib/Graph-Easy-0.76/t/txt/dot/2_graph_label_bottom.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
label: Deutsche Städte;
|
||||
labelpos: bottom;
|
||||
title: GRAPH_0;
|
||||
}
|
||||
|
||||
[ Köln ] --> [ Stralsund ]
|
||||
17
perl/lib/Graph-Easy-0.76/t/txt/dot/2_group_labelloc.txt
Normal file
17
perl/lib/Graph-Easy-0.76/t/txt/dot/2_group_labelloc.txt
Normal file
@@ -0,0 +1,17 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
title: GRAPH_0;
|
||||
}
|
||||
group {
|
||||
align: center;
|
||||
fill: inherit;
|
||||
}
|
||||
|
||||
( cluster0
|
||||
[ Wasserkuppe ]
|
||||
[ Zugspitze ]
|
||||
) { align: left; label: Bergtour:; labelpos: bottom; border: dashed black; }
|
||||
|
||||
[ Zugspitze ] --> [ Wasserkuppe ]
|
||||
8
perl/lib/Graph-Easy-0.76/t/txt/dot/2_ignore.txt
Normal file
8
perl/lib/Graph-Easy-0.76/t/txt/dot/2_ignore.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
title: G;
|
||||
}
|
||||
|
||||
[ node1 ] --> [ node2 ]
|
||||
14
perl/lib/Graph-Easy-0.76/t/txt/dot/2_linewidth.txt
Normal file
14
perl/lib/Graph-Easy-0.76/t/txt/dot/2_linewidth.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
title: G;
|
||||
x-dot-overlap: false;
|
||||
x-dot-ratio: fill;
|
||||
x-dot-size: 11,8.5;
|
||||
}
|
||||
|
||||
[ 123 ] { fontsize: 10px; shape: none; }
|
||||
[ foo ] { fontsize: 10px; shape: none; }
|
||||
|
||||
[ 123 ] --> [ foo ]
|
||||
9
perl/lib/Graph-Easy-0.76/t/txt/dot/2_no_spaces.txt
Normal file
9
perl/lib/Graph-Easy-0.76/t/txt/dot/2_no_spaces.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
title: unnamed;
|
||||
type: undirected;
|
||||
}
|
||||
|
||||
[ bonn ] -- [ berlin ]
|
||||
8
perl/lib/Graph-Easy-0.76/t/txt/dot/2_nospace.txt
Normal file
8
perl/lib/Graph-Easy-0.76/t/txt/dot/2_nospace.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
title: mike;
|
||||
}
|
||||
|
||||
[ mike ] --> [ michael ]
|
||||
8
perl/lib/Graph-Easy-0.76/t/txt/dot/2_ports.txt
Normal file
8
perl/lib/Graph-Easy-0.76/t/txt/dot/2_ports.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
title: ports;
|
||||
}
|
||||
|
||||
[ north ] --> { end: west; start: east; } [ south ]
|
||||
11
perl/lib/Graph-Easy-0.76/t/txt/dot/2_setlinewidth.txt
Normal file
11
perl/lib/Graph-Easy-0.76/t/txt/dot/2_setlinewidth.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
title: unnamed;
|
||||
}
|
||||
|
||||
[ Berlin ] { shape: rect; border: broad; }
|
||||
[ Bonn ] { border: bold; }
|
||||
|
||||
[ Bonn ] --> [ Berlin ]
|
||||
@@ -0,0 +1,10 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
title: G;
|
||||
}
|
||||
|
||||
[ a ] { label: ] ; }
|
||||
|
||||
[ a ] --> [ b ]
|
||||
8
perl/lib/Graph-Easy-0.76/t/txt/dot/2_strict.txt
Normal file
8
perl/lib/Graph-Easy-0.76/t/txt/dot/2_strict.txt
Normal file
@@ -0,0 +1,8 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
title: G;
|
||||
}
|
||||
|
||||
[ Wolfsbüttel ] --> [ Köln ]
|
||||
22
perl/lib/Graph-Easy-0.76/t/txt/dot/3_colors.txt
Normal file
22
perl/lib/Graph-Easy-0.76/t/txt/dot/3_colors.txt
Normal file
@@ -0,0 +1,22 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
title: G;
|
||||
}
|
||||
group {
|
||||
align: center;
|
||||
fill: inherit;
|
||||
}
|
||||
|
||||
[ A ] { color: red; }
|
||||
[ B ] { color: #ffff99; }
|
||||
[ C ] { color: #ff0000; }
|
||||
|
||||
( cluster_1
|
||||
[ A ]
|
||||
[ B ]
|
||||
) { border: dashed #ff0000; }
|
||||
|
||||
[ A ] --> { color: #ff0000ff; } [ B ]
|
||||
[ B ] --> { color: hsv(1.0,1.0,1.0); } [ C ]
|
||||
9
perl/lib/Graph-Easy-0.76/t/txt/dot/3_empty_record.txt
Normal file
9
perl/lib/Graph-Easy-0.76/t/txt/dot/3_empty_record.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
title: G;
|
||||
}
|
||||
|
||||
[ Compositor| |Compose() ] { basename: Compositor; }
|
||||
|
||||
9
perl/lib/Graph-Easy-0.76/t/txt/dot/3_empty_record_LR.txt
Normal file
9
perl/lib/Graph-Easy-0.76/t/txt/dot/3_empty_record_LR.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: east;
|
||||
title: G;
|
||||
}
|
||||
|
||||
[ Compositor|| || Compose() ] { basename: Compositor; }
|
||||
|
||||
11
perl/lib/Graph-Easy-0.76/t/txt/dot/3_graph_label_long.txt
Normal file
11
perl/lib/Graph-Easy-0.76/t/txt/dot/3_graph_label_long.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
label: Deutsche Städte am Rhein;
|
||||
labelpos: bottom;
|
||||
title: GRAPH_0;
|
||||
}
|
||||
|
||||
[ Köln ] --> [ Bonn ]
|
||||
[ Bonn ] --> [ Koblenz ]
|
||||
9
perl/lib/Graph-Easy-0.76/t/txt/dot/3_ids.txt
Normal file
9
perl/lib/Graph-Easy-0.76/t/txt/dot/3_ids.txt
Normal file
@@ -0,0 +1,9 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
title: G;
|
||||
}
|
||||
|
||||
[ 123 ]
|
||||
[ abc ] --> [ test ]
|
||||
13
perl/lib/Graph-Easy-0.76/t/txt/dot/3_invis.txt
Normal file
13
perl/lib/Graph-Easy-0.76/t/txt/dot/3_invis.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
title: G;
|
||||
}
|
||||
|
||||
[ a ] { shape: rect; }
|
||||
[ b ] { shape: invisible; }
|
||||
[ c ] { shape: rect; }
|
||||
|
||||
[ a ] --> [ b ]
|
||||
[ b ] --> [ c ]
|
||||
13
perl/lib/Graph-Easy-0.76/t/txt/dot/3_node_label.txt
Normal file
13
perl/lib/Graph-Easy-0.76/t/txt/dot/3_node_label.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
label: \G;
|
||||
title: Graphname;
|
||||
}
|
||||
|
||||
[ 0 ] { label: \G \N; }
|
||||
[ 1 ] { label: \G \N; }
|
||||
[ 2 ] { label: Name: \N \G; }
|
||||
|
||||
[ 0 ] -- \E \G \T \H --> [ 1 ]
|
||||
10
perl/lib/Graph-Easy-0.76/t/txt/dot/3_output_lone.txt
Normal file
10
perl/lib/Graph-Easy-0.76/t/txt/dot/3_output_lone.txt
Normal file
@@ -0,0 +1,10 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
output: html;
|
||||
title: G;
|
||||
}
|
||||
|
||||
[ a ] --> [ b ]
|
||||
[ c ]
|
||||
23
perl/lib/Graph-Easy-0.76/t/txt/dot/4_cluster_labeljust.txt
Normal file
23
perl/lib/Graph-Easy-0.76/t/txt/dot/4_cluster_labeljust.txt
Normal file
@@ -0,0 +1,23 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
title: G;
|
||||
}
|
||||
group {
|
||||
align: center;
|
||||
fill: inherit;
|
||||
}
|
||||
|
||||
( cluster_0
|
||||
[ aaaaaaaaaaaaaaaaaaa ]
|
||||
[ b ]
|
||||
) { align: right; label: Right aligned; }
|
||||
|
||||
( cluster_1
|
||||
[ c ]
|
||||
[ ddddddddddddddd ]
|
||||
) { align: left; label: Left aligned; }
|
||||
|
||||
[ aaaaaaaaaaaaaaaaaaa ] --> [ b ]
|
||||
[ c ] --> [ ddddddddddddddd ]
|
||||
12
perl/lib/Graph-Easy-0.76/t/txt/dot/4_compass.txt
Normal file
12
perl/lib/Graph-Easy-0.76/t/txt/dot/4_compass.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
title: unnamed;
|
||||
}
|
||||
|
||||
[ berlin N | w ] { basename: berlin; }
|
||||
[ bonn N | S ] { basename: bonn; }
|
||||
|
||||
[ bonn.1 ] --> { end: west; start: south; } [ berlin.0 ]
|
||||
[ bonn.1 ] --> [ berlin.1 ]
|
||||
12
perl/lib/Graph-Easy-0.76/t/txt/dot/4_html_like.txt
Normal file
12
perl/lib/Graph-Easy-0.76/t/txt/dot/4_html_like.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
title: G;
|
||||
}
|
||||
|
||||
[ first ] { label: ; }
|
||||
[ fourth ] { label: a; }
|
||||
[ second ] { label: ; }
|
||||
[ third ] { label: ; }
|
||||
|
||||
12
perl/lib/Graph-Easy-0.76/t/txt/dot/4_loose.txt
Normal file
12
perl/lib/Graph-Easy-0.76/t/txt/dot/4_loose.txt
Normal file
@@ -0,0 +1,12 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
title: unnamed;
|
||||
type: undirected;
|
||||
}
|
||||
|
||||
[ A ] -- [ B ]
|
||||
[ B ] -- [ C ]
|
||||
[ C ] -- [ D ]
|
||||
[ D ] -- [ A ]
|
||||
11
perl/lib/Graph-Easy-0.76/t/txt/dot/4_record.txt
Normal file
11
perl/lib/Graph-Easy-0.76/t/txt/dot/4_record.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
title: G;
|
||||
}
|
||||
|
||||
[ test | split ] { basename: node1; }
|
||||
[ record | test ] { basename: node2; }
|
||||
|
||||
[ node1.0 ] --> [ node2.1 ]
|
||||
14
perl/lib/Graph-Easy-0.76/t/txt/dot/4_strings.txt
Normal file
14
perl/lib/Graph-Easy-0.76/t/txt/dot/4_strings.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
title: graph0;
|
||||
}
|
||||
|
||||
[ Cottbus ] { label: Cottbus; }
|
||||
[ berlin ] { label: Berlin Ost; }
|
||||
[ bonn ] { label: Bonn am Rhein; }
|
||||
[ bonntest ] { label: Bonn (Rhei n); }
|
||||
|
||||
[ bonn ] -- train (ICE) --> [ berlin ]
|
||||
[ bonntest ] --> [ Cottbus ]
|
||||
23
perl/lib/Graph-Easy-0.76/t/txt/dot/4_uppercase.txt
Normal file
23
perl/lib/Graph-Easy-0.76/t/txt/dot/4_uppercase.txt
Normal file
@@ -0,0 +1,23 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
title: graph;
|
||||
}
|
||||
group {
|
||||
align: center;
|
||||
fill: inherit;
|
||||
}
|
||||
|
||||
[ a ] { border: dotted black; }
|
||||
[ b ] { border: dotted black; }
|
||||
[ c ] { border: dotted black; }
|
||||
[ d ] { border: dotted black; }
|
||||
|
||||
( cluster_me
|
||||
[ a ]
|
||||
[ b ]
|
||||
)
|
||||
|
||||
[ a ] -- foo --> [ b ]
|
||||
[ c ] -- foo --> [ d ]
|
||||
15
perl/lib/Graph-Easy-0.76/t/txt/dot/5_scope_atr.txt
Normal file
15
perl/lib/Graph-Easy-0.76/t/txt/dot/5_scope_atr.txt
Normal file
@@ -0,0 +1,15 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
title: GRAPH_0;
|
||||
}
|
||||
|
||||
[ b ] { shape: rounded; }
|
||||
[ c ] { shape: none; }
|
||||
[ d ] { shape: none; }
|
||||
|
||||
[ a ]
|
||||
[ b ] --> [ u ]
|
||||
[ c ] --> [ u ]
|
||||
[ d ] --> [ u ]
|
||||
13
perl/lib/Graph-Easy-0.76/t/txt/dot/5_scopes.txt
Normal file
13
perl/lib/Graph-Easy-0.76/t/txt/dot/5_scopes.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
title: GRAPH_0;
|
||||
}
|
||||
|
||||
[ a ] --> [ b ]
|
||||
[ a ] --> [ c ]
|
||||
[ a ] --> [ d ]
|
||||
[ b ] --> [ u ]
|
||||
[ c ] --> [ u ]
|
||||
[ d ] --> [ u ]
|
||||
13
perl/lib/Graph-Easy-0.76/t/txt/dot/5_scopes_chain.txt
Normal file
13
perl/lib/Graph-Easy-0.76/t/txt/dot/5_scopes_chain.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
title: GRAPH_0;
|
||||
}
|
||||
|
||||
[ a ] --> [ b ]
|
||||
[ a ] --> [ c ]
|
||||
[ a ] --> [ d ]
|
||||
[ b ] --> [ o ]
|
||||
[ c ] --> [ o ]
|
||||
[ d ] --> [ o ]
|
||||
13
perl/lib/Graph-Easy-0.76/t/txt/dot/5_scopes_uni.txt
Normal file
13
perl/lib/Graph-Easy-0.76/t/txt/dot/5_scopes_uni.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
title: GRAPH_0;
|
||||
}
|
||||
|
||||
[ a ] -- [ b ]
|
||||
[ a ] -- [ c ]
|
||||
[ a ] -- [ d ]
|
||||
[ b ] -- [ o ]
|
||||
[ c ] -- [ o ]
|
||||
[ d ] -- [ o ]
|
||||
30
perl/lib/Graph-Easy-0.76/t/txt/dot/6_2_cluster.txt
Normal file
30
perl/lib/Graph-Easy-0.76/t/txt/dot/6_2_cluster.txt
Normal file
@@ -0,0 +1,30 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
title: G;
|
||||
}
|
||||
group {
|
||||
align: center;
|
||||
fill: inherit;
|
||||
}
|
||||
|
||||
( cluster_first
|
||||
[ a ]
|
||||
[ b ]
|
||||
) { label: first; }
|
||||
|
||||
( cluster_second
|
||||
[ p ]
|
||||
[ q ]
|
||||
[ r ]
|
||||
[ s ]
|
||||
) { label: second; }
|
||||
|
||||
[ a ] --> [ b ]
|
||||
[ b ] --> [ q ]
|
||||
[ q ] --> [ r ]
|
||||
[ r ] --> { style: bold; } [ a ]
|
||||
[ r ] --> [ s ]
|
||||
[ s ] --> [ p ]
|
||||
[ p ] --> [ q ]
|
||||
14
perl/lib/Graph-Easy-0.76/t/txt/dot/6_comments.txt
Normal file
14
perl/lib/Graph-Easy-0.76/t/txt/dot/6_comments.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
title: GRAPH_0;
|
||||
}
|
||||
|
||||
[ a ] --> [ b ]
|
||||
[ a ] --> [ c ]
|
||||
[ a ] --> [ d ]
|
||||
[ my node /* not a comment */ ] --> [ b ]
|
||||
[ b ] --> [ u ]
|
||||
[ c ] --> [ u ]
|
||||
[ d ] --> [ u ]
|
||||
18
perl/lib/Graph-Easy-0.76/t/txt/dot/6_group_align.txt
Normal file
18
perl/lib/Graph-Easy-0.76/t/txt/dot/6_group_align.txt
Normal file
@@ -0,0 +1,18 @@
|
||||
( Center:
|
||||
[ E ]
|
||||
[ F ]
|
||||
) { align: center; }
|
||||
|
||||
( Left:
|
||||
[ A ]
|
||||
[ B ]
|
||||
) { align: left; }
|
||||
|
||||
( Right:
|
||||
[ C ]
|
||||
[ D ]
|
||||
) { align: right; }
|
||||
|
||||
[ A ] --> [ B ]
|
||||
[ C ] --> [ D ]
|
||||
[ E ] --> [ F ]
|
||||
13
perl/lib/Graph-Easy-0.76/t/txt/dot/7_record.txt
Normal file
13
perl/lib/Graph-Easy-0.76/t/txt/dot/7_record.txt
Normal file
@@ -0,0 +1,13 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
align: left;
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
label: Left aligned label;
|
||||
title: gaph;
|
||||
}
|
||||
|
||||
[ <f1> Aa \| <f2> Bb \| Cc ] { shape: rect; }
|
||||
[ AA | BB | CC ] { basename: a; }
|
||||
|
||||
[ A | B | C ]
|
||||
16
perl/lib/Graph-Easy-0.76/t/txt/dot/9_back.txt
Normal file
16
perl/lib/Graph-Easy-0.76/t/txt/dot/9_back.txt
Normal file
@@ -0,0 +1,16 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: east;
|
||||
title: G;
|
||||
}
|
||||
|
||||
[ 0 ] --> [ 11 ]
|
||||
[ 5 ] --> [ 6 ]
|
||||
[ 5 ] --> [ 8 ]
|
||||
[ 11 ] --> [ 1 ]
|
||||
[ 1 ] --> [ 10 ]
|
||||
[ 1 ] --> [ 2 ]
|
||||
[ 10 ] --> [ 6 ]
|
||||
[ 2 ] --> [ 3 ]
|
||||
[ 3 ] --> [ 8 ]
|
||||
30
perl/lib/Graph-Easy-0.76/t/txt/dot/9_edge_styles.txt
Normal file
30
perl/lib/Graph-Easy-0.76/t/txt/dot/9_edge_styles.txt
Normal file
@@ -0,0 +1,30 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
title: G;
|
||||
x-dot-clusterrank: local;
|
||||
x-dot-margin: 0;
|
||||
x-dot-nodesep: 0.2;
|
||||
x-dot-ranksep: 0.2;
|
||||
x-dot-ratio: auto;
|
||||
}
|
||||
|
||||
[ A ] { color: lightsalmon; font: Helvetica; fontsize: 14px; shape: rect; }
|
||||
[ B ] { color: lightsalmon; font: Helvetica; fontsize: 14px; shape: rect; }
|
||||
[ C ] { color: lightsalmon; font: Helvetica; fontsize: 14px; shape: rect; }
|
||||
[ D ] { color: lightsalmon; font: Helvetica; fontsize: 14px; shape: rect; }
|
||||
[ E ] { color: lightsalmon; font: Helvetica; fontsize: 14px; shape: rect; }
|
||||
[ F ] { color: lightsalmon; font: Helvetica; fontsize: 14px; shape: rect; }
|
||||
[ G ] { color: lightsalmon; font: Helvetica; fontsize: 14px; shape: rect; }
|
||||
[ H ] { color: lightsalmon; font: Helvetica; fontsize: 14px; shape: rect; }
|
||||
[ I ] { color: lightsalmon; font: Helvetica; fontsize: 14px; shape: rect; }
|
||||
|
||||
[ A ] --> { style: bold; } [ B ]
|
||||
[ A ] --> { style: bold; } [ F ]
|
||||
[ B ] --> { style: bold; } [ C ]
|
||||
[ F ] --> { style: bold; } [ G ]
|
||||
[ C ] --> { style: bold; } [ D ]
|
||||
[ G ] --> { style: bold; } [ H ]
|
||||
[ D ] --> { style: bold; } [ E ]
|
||||
[ H ] --> { style: bold; } [ I ]
|
||||
16
perl/lib/Graph-Easy-0.76/t/txt/dot/9_stacking.txt
Normal file
16
perl/lib/Graph-Easy-0.76/t/txt/dot/9_stacking.txt
Normal file
@@ -0,0 +1,16 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: east;
|
||||
title: G;
|
||||
}
|
||||
|
||||
[ 0 ] --> [ 11 ]
|
||||
[ 11 ] --> [ 1 ]
|
||||
[ 1 ] --> [ 10 ]
|
||||
[ 1 ] --> [ 2 ]
|
||||
[ 10 ] --> [ 6 ]
|
||||
[ 2 ] --> [ 3 ]
|
||||
[ 3 ] --> [ 8 ]
|
||||
[ 8 ] --> [ 5 ]
|
||||
[ 5 ] --> [ 6 ]
|
||||
14
perl/lib/Graph-Easy-0.76/t/txt/dot/9_tree.txt
Normal file
14
perl/lib/Graph-Easy-0.76/t/txt/dot/9_tree.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
edge { arrowstyle: filled; }
|
||||
graph {
|
||||
colorscheme: x11;
|
||||
flow: south;
|
||||
title: G;
|
||||
}
|
||||
|
||||
[ | A| ] { basename: node0; }
|
||||
[ | B| ] { basename: node1; }
|
||||
[ | C| ] { basename: node2; }
|
||||
|
||||
[ node0.0 ] --> [ node1.1 ]
|
||||
[ node0.2 ] --> [ node2.2 ]
|
||||
[ node1.0 ] --> [ node2.1 ]
|
||||
Reference in New Issue
Block a user