[graphviz-interest] Straight line drawn as a curve (Petersen.gv)

Ryan Schmidt <[email protected]>
Newsgroups gmane.comp.video.graphviz
Message-ID <[email protected]>
I'm trying to understand why Graphviz sometimes chooses to draw a straight line as a Bezier curve.

In the included sample graph Petersen.gv, there is a straight line from node 0 to note 5. But:

$ dot /opt/local/share/graphviz/graphs/undirected/Petersen.gv

produces output including:

	0 -- 5	 [color=red,
		pos="17,647.95 17,621.29 17,568.11 17,523 17,523 17,523 17,233 17,187.89 17,134.71 17,108.05",
		weight=5];

Why has Graphviz drawn this line as three connected Bezier curves? The X-coordinate of each point is identical; it seems that this could just as easily have been a straight line from 17,647.95 directly to 17,108.05.

$ dot -V
dot - graphviz version 2.32.0 (20130802.2235)


_______________________________________________
[email protected]
http://lists.research.att.com/mailman/listinfo/graphviz-interest
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.