Graphviz Issue Tracker
Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000262graphvizNeatopublic2003-08-05 00:002011-04-28 04:02
ReporterTamar Barzuza 
Assigned Togviz 
StatusacknowledgedResolutionno change required 
PlatformOSWindows-XPOS Version
Summary0000262: Stars are not drawn well.
When the graph is a star of edges with one center vertex, it
is not drawn well.
Steps To Reproduce

graph realization {
  n0 [shape=ellipse];
  n1 [shape=ellipse];
  n2 [shape=ellipse];
  n3 [shape=ellipse];
  n1--n0 [label="0",len=1.5];
  n2--n0 [label="1",len=1.5];
  n3--n0 [label="2",len=1.5]
Additional Information

[erg] The algorithm used by neato requires it to solve an optimization problem
that is very sensitive to the initial layout chosen at random. Sometimes
the initial layout causes the algorithm to find a local minimum that it
can't get out of. That is what you are seeing.

The simplest solution is to rerun neato, but use a different initial
layout. This can be done by using -Gstart=, where is any
integer not equal to 1. -Gstart=regular or -Gstart=x should also work.

This is somewhere between a bug and a request. There are randomization
techniques to help push a solution out of a local minimum. We could
add these to neato.
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2011-04-28 04:02 user1 New Issue
2011-04-28 04:02 user1 Assigned To => user1

MantisBT 1.2.5[^]
Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker