George Georgalis
2011-06-28 20:10:32 UTC
Hi All,
Graphviz has been a wonderful tool over the years, thanks all for your
development and support!
Today, I'd like to offer a question about layout. I seem to recall a
graph option about no overlap (?), but I was never able to use it to
prevent edges from crossing. The below graph source below is based on
http://www.ischool.utexas.edu/~wyllys/SAEMaterials/sysdevcycle.html
and is a perfect example. It's not too difficult to visualize a
resolution to edge overlap, but training graphviz to avoid it can be
tricky. Here I use rank and A->B->C elements to get a "better" layout
(I then crop the extra nodes or make them same color as background).
I was wondering if anyone can recommend a better approach to keep
edges from crossing?
Regards,
George
A -> B -> C
{rank=same A "OPERATION" };
{rank=same B "System\n Testing" };
{rank=same C "Operational\n Evaluation" };
"On-Going\n Evaluation"
-> { rank=same
"ANALYSIS"
-> "DESIGN"
-> "PRODUCTION"
-> "IMPLEMENTATION"
-> "OPERATION"
}
"IMPLEMENTATION"
-> "System\n Testing"
-> "PRODUCTION"
"OPERATION"
-> "Operational\n Evaluation"
-> {
"PRODUCTION"
"ANALYSIS"
}
_______________________________________________
graphviz-***@research.att.com
https://mailman.research.att.com/mailman/listinfo/graphviz-interest
Graphviz has been a wonderful tool over the years, thanks all for your
development and support!
Today, I'd like to offer a question about layout. I seem to recall a
graph option about no overlap (?), but I was never able to use it to
prevent edges from crossing. The below graph source below is based on
http://www.ischool.utexas.edu/~wyllys/SAEMaterials/sysdevcycle.html
and is a perfect example. It's not too difficult to visualize a
resolution to edge overlap, but training graphviz to avoid it can be
tricky. Here I use rank and A->B->C elements to get a "better" layout
(I then crop the extra nodes or make them same color as background).
I was wondering if anyone can recommend a better approach to keep
edges from crossing?
Regards,
George
A -> B -> C
{rank=same A "OPERATION" };
{rank=same B "System\n Testing" };
{rank=same C "Operational\n Evaluation" };
"On-Going\n Evaluation"
-> { rank=same
"ANALYSIS"
-> "DESIGN"
-> "PRODUCTION"
-> "IMPLEMENTATION"
-> "OPERATION"
}
"IMPLEMENTATION"
-> "System\n Testing"
-> "PRODUCTION"
"OPERATION"
-> "Operational\n Evaluation"
-> {
"PRODUCTION"
"ANALYSIS"
}
_______________________________________________
graphviz-***@research.att.com
https://mailman.research.att.com/mailman/listinfo/graphviz-interest