/
graphviz_svg_styles.dot
119 lines (116 loc) · 5.12 KB
/
graphviz_svg_styles.dot
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
// sample.dot
/* based on https://stackoverflow.com/questions/69219420/css-stylesheets-in-graphviz */
graph sample {
stylesheet="https://raw.githubusercontent.com/berx/berxblog/main/graphviz-stryles-svg/graphviz_svg_styles.css"
color=white;
// Nodes
n_box [shape=box];
n_polygon [shape=polygon];
n_ellipse [shape=ellipse];
n_oval [shape=oval];
n_circle [shape=circle ];
n_point [shape=point; labelloc="b" ];
n_egg [shape=egg ];
n_triangle [shape=triangle ];
n_plaintext [shape=plaintext ];
n_plain [shape=plain ];
n_diamond [shape=diamond ];
n_trapezium [shape=trapezium ];
n_parallelogram [shape=parallelogram ];
n_house [shape=house ];
n_pentagon [shape=pentagon ];
n_hexagon [shape=hexagon ];
n_septagon [shape=septagon ];
n_octagon [shape=octagon ];
n_doublecircle [shape=doublecircle ];
n_doubleoctagon [shape=doubleoctagon ];
n_tripleoctagon [shape=tripleoctagon ];
n_invtriangle [shape=invtriangle ];
n_invtrapezium [shape=invtrapezium ];
n_invhouse [shape=invhouse ];
n_mdiamond [shape=Mdiamond ];
n_msquare [shape=Msquare ];
n_mcircle [shape=Mcircle ];
n_rect [shape=rect ];
n_rectangle [shape=rectangle ];
n_square [shape=square ];
n_star [shape=star ];
n_none [shape=none ];
n_underline [shape=underline ];
n_cylinder [shape=cylinder ];
n_note [shape=note ];
n_tab [shape=tab ];
n_folder [shape=folder ];
n_box3d [shape=box3d ];
n_component [shape=component ];
n_promoter [shape=promoter ;labelloc="b" ];
n_cds [shape=cds ; ];
n_terminator [shape=terminator ;labelloc="b" ];
n_utr [shape=utr ;labelloc="b" ];
n_prinmesite [shape=primersite ;labelloc="b" ];
n_restrictionsite [shape=restrictionsite;labelloc="b" ];
n_fivepoverhang [shape=fivepoverhang ;labelloc="b" ];
n_threepoverhang [shape=threepoverhang ;labelloc="b" ];
n_noverhang [shape=noverhang ;labelloc="b" ];
n_assembly [shape=assembly ;labelloc="b" ];
n_signature [shape=signature ];
n_insulator [shape=insulator ;labelloc="b" ];
n_ribosite [shape=ribosite ;labelloc="b" ];
n_rnastab [shape=rnastab ;labelloc="b" ];
n_proteasesite [shape=proteasesite ;labelloc="b" ];
n_proteinstab [shape=proteinstab ;labelloc="b" ];
n_rpromoter [shape=rpromoter ];
n_rarrow [shape=rarrow ];
n_larrow [shape=larrow ];
n_lpromoter [shape=lpromoter ];
n_box -- n_polygon [ color = white];
n_polygon -- n_ellipse [ color = white];
n_ellipse --n_oval [ color = white] ;
n_oval -- n_circle [ color = white] ;
n_circle -- n_point [ color = white] ;
n_point -- n_egg [ color = white] ;
n_triangle -- n_plaintext [ color = white] ;
n_plaintext -- n_plain [ color = white] ;
n_plain -- n_diamond [ color = white] ;
n_diamond -- n_trapezium [ color = white] ;
n_trapezium -- n_parallelogram [ color = white] ;
n_parallelogram -- n_house [ color = white] ;
n_pentagon -- n_hexagon [ color = white] ;
n_hexagon -- n_septagon [ color = white] ;
n_septagon -- n_octagon [ color = white] ;
n_octagon -- n_doublecircle [ color = white] ;
n_doublecircle -- n_doubleoctagon [ color = white] ;
n_doubleoctagon -- n_tripleoctagon [ color = white] ;
n_invtriangle -- n_invtrapezium [ color = white] ;
n_invtrapezium -- n_invhouse [ color = white] ;
n_invhouse -- n_mdiamond [ color = white] ;
n_mdiamond -- n_msquare [ color = white] ;
n_msquare -- n_mcircle [ color = white] ;
n_mcircle -- n_rect [ color = white] ;
n_rectangle -- n_square [ color = white] ;
n_square -- n_star [ color = white] ;
n_star -- n_none [ color = white] ;
n_none -- n_underline [ color = white] ;
n_underline -- n_cylinder [ color = white] ;
n_cylinder -- n_note [ color = white] ;
n_tab -- n_folder [ color = white] ;
n_folder -- n_box3d [ color = white] ;
n_box3d -- n_component [ color = white] ;
n_component -- n_promoter [ color = white] ;
n_promoter -- n_cds [ color = white] ;
n_cds -- n_terminator [ color = white] ;
n_utr -- n_prinmesite [ color = white] ;
n_prinmesite -- n_restrictionsite [ color = white] ;
n_restrictionsite -- n_fivepoverhang [ color = white] ;
n_fivepoverhang -- n_threepoverhang [ color = white] ;
n_threepoverhang -- n_noverhang [ color = white] ;
n_noverhang -- n_assembly [ color = white] ;
n_signature -- n_insulator [ color = white] ;
n_insulator -- n_ribosite [ color = white] ;
n_ribosite -- n_rnastab [ color = white] ;
n_rnastab -- n_proteasesite [ color = white] ;
n_proteasesite -- n_proteinstab [ color = white] ;
n_proteinstab -- n_rpromoter [ color = white] ;
n_rarrow -- n_larrow [ color = white] ;
n_larrow -- n_lpromoter [ color = white] ;
}