graphviz - Non-standard notations used for dot language -


i studying research paper on graph grammar modelling (model checking). better understanding started exploring experiments run researchers.

they have used dot notation specify graph structures , have used attributes such labelangle=-35 , type = "rt|re|node"

i cannot find reference on internet dot language, none of them start perspective of newbie. when searched stackoverflow, got feeling there no standard way of specifying things in dot several notations have gone obsolete still exist in literature.

can please explain me purpose of attributes type or labelangle @ least in context.

note: neither type nor labelangle seem make difference in graph generated graphviz.

for example consider following graph, has been cited in detailed description of topology formation on page 58 bad pattern (do not worry bad pattern is, researchers have defined in paper), created using dot file:

graph bad_pattern {     splines = true;     node1 [shape=circle, style = filled, width=.15, label = "1", type = "rt"];     node2 [shape=circle, style = filled, width=.15, label = "2", type = "re"];     node3 [shape=circle, style = filled, width=.15, label = "3", type = "node"];     node4 [shape=circle, style = filled, width=.15, label = "4", type = "rt"];     node5 [shape=circle, style = filled, width=.15, label = "5", type = "node"];     node6 [shape=doublecircle, style = filled, width=.15, label = "6", type = "re"];      routeentry0 [shape = box, style = filled, label = routeentry]     routeentry0 -- node1 [taillabel = 0, labelangle=-35, labeldistance=1];     routeentry0 -- node2 [taillabel = 1, labelangle=-35, labeldistance=1];      routeaddress0 [shape = box, style = filled, label = routeaddress]     routeaddress0 -- node2 [taillabel = 0, labelangle=-35, labeldistance=1];     routeaddress0 -- node5 [taillabel = 1, labelangle=-35, labeldistance=1];      routenexthopaddress [shape = box, style = filled]     routenexthopaddress -- node2 [taillabel = 0, labelangle=-35, labeldistance=1];     routenexthopaddress -- node3 [taillabel = 1, labelangle=-35, labeldistance=1];      routetable [shape = box, style = filled]     routetable -- node3 [taillabel = 0, labelangle=-35, labeldistance=1];     routetable -- node4 [taillabel = 1, labelangle=-35, labeldistance=1];      routeentry1 [shape = doubleoctagon, style = filled, label = routeentry]     routeentry1 -- node4 [taillabel = 0, labelangle=-35, labeldistance=1];     routeentry1 -- node6 [taillabel = 1, labelangle=-35, labeldistance=1];      routeaddress1 [shape = doubleoctagon, style = filled, label = routeaddress]     routeaddress1 -- node6 [taillabel = 0, labelangle=-35, labeldistance=1];     routeaddress1 -- node5 [taillabel = 1, labelangle=-35, labeldistance=1];      label = ""     fontsize=20; } 

output graph above dot file

from understanding have developed far, not sure graph should output of above dot file edge , node mapping not same specified in dot file , output graph.

please help.

an overview graphviz available @ drawing graphs dot. reference attributes @ node, edge , graph attributes - graphviz.

type not regular attribute, language supports arbitrary user attributes carries through further processing. perhaps there subsequent step in experiment uses - not used layout engine.


Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

c++ - Correct method for redrawing a layered window -

java.util.scanner - How to read and add only numbers to array from a text file -