|Anonymous | Login||2017-11-23 09:47 EST|
|Main | My View | View Issues | Change Log | Roadmap | My Account|
|View Issue Details|
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000879||graphviz||Dot||public||2005-04-24 14:47||2011-04-28 04:03|
|Summary||0000879: strange output|
First sorry for my english i'm french and frogs don't speak very well english :p
dot create a strange organisation of nodes
particularly for the node _21_Operator
Why isn't it above the "<ATTRIBUTE>" sub graph ?
The entry point of "<INT>" subgraph would be at left and
the sub graph aligned with "<BOOLEAN>" and "<STRING>" subgraph
the exit point of "<INT>" subgraph would not zigzag between subgraphs
How can i resolve problem for a best display ?
Thanks you to you
[erg] If a graph has cycles, as yours does, dot has to break the cycles by reversing some edges. It uses
a depth-first search but for a complex graph like this one, it can be hard to be sure which edges are
going to be reversed.
The best guarantee is to use edge directions to direct how you want the nodes placed, flipping the edges
yourself to get an acyclic graph, and then using the dir, arrowhead or arrowtail attributes to make it look
as though the edge goes in the other direction.
In your case, try replacing:
"INT_End" -> _21_Operator -> "INT_Start";
_21_Operator -> "INT_End" [dir=back]
"INT_Start" -> _21_Operator [dir=back]
Further constrains can be added using invisible edges, additional invisible nodes, and attributes such as
minlen and rank.
|Tags||No tags attached.|
|2011-04-28 04:03||user1||New Issue|
|2011-04-28 04:03||user1||Assigned To||=> erg|
|MantisBT 1.2.5[^] Copyright © 2000 - 2011 MantisBT Group|