Closed GoogleCodeExporter closed 9 years ago
The parser will parse what a dot files specifies. If a graph is declared as
'strict' but its definition includes multiple identical edges, pydot will read
those.
Although when the graph is rendered, Graphviz will obey the 'strict' directive.
I feel it's not pydot's work to take on all work of deciding whether the graph
file adheres to Graphviz's specification.
In this case the rendered end result will be the same.
If you want to obtain a secondary 'dot' file, processed through Graphviz (hence
will multi-edges and self-arcs removed) you can always run:
g = pydot.pydot.graph_from_dot_file(path_to_file)
processed_dot = g.create(format='dot')
Original comment by ero.carr...@gmail.com
on 1 Nov 2010 at 8:29
Original issue reported on code.google.com by
brols...@gmail.com
on 31 Jul 2008 at 10:26