Directed graph from data in DOT language
example 1
example 2
example 3
Draw
digraph { node [style=circle fontSize=16] edge [length=100, color=gray, fontColor=black] A -> A[text=0.5]; B -> B[text=1.2] -> C[text=0.7] -- A; B -> D; D -> B; D -> C; D -> E[text=0.2]; F -> F; A [ fontColor=red, borderColor=red, backgroundColor=white, highlightColor=white ] }
digraph topology { node[shape=circle fontSize=12] edge[length=170 fontSize=12] "10.0.255.1" -> "10.0.255.3"[label="1.000"]; "10.0.255.1" -> "10.0.255.2"[label="1.000"]; "10.0.255.1" -> "10.0.255.2"[label="1.000"]; "10.0.255.1" -> "10.0.255.3"[label="1.000"]; "10.0.255.2" -> "10.0.255.1"[label="1.000"]; "10.0.255.2" -> "10.0.255.3"[label="1.000"]; "10.0.255.3" -> "10.0.255.1"[label="1.000"]; "10.0.255.3" -> "10.0.255.2"[label="1.000"]; "10.0.255.3" -> "10.0.3.0/24"[label="HNA", style=solid]; "10.0.3.0/24"[shape=rect]; "10.0.255.2" -> "10.0.2.0/24"[label="HNA"]; "10.0.2.0/24"[shape=rect]; "10.0.255.1" -> "10.0.1.0/24"[label="HNA"]; "10.0.1.0/24"[shape=rect]; }
digraph G { // note: not all attributes are recognized and supported by Network // unrecognized attributes are ignored node[width=.25,height=.375,fontsize=15] node [style=filled fillcolor=#F1AAF0] 0-> 0 ; 1-> 1 ; 2-> 2 ; 3-> 3 ; 4-> 4 ; 5-> 5 ; 6-> 6 ; 7-> 5 ; 8-> 8 ; 9-> 9 ; 10-> 10 ; 11-> 10 ; 12-> 12 ; 13-> 5 ; 14-> 10 ; 15-> 0 ; }