Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

long edges in 2.40 #1246

Open
emden opened this issue Jun 11, 2017 · 0 comments
Open

long edges in 2.40 #1246

emden opened this issue Jun 11, 2017 · 0 comments

Comments

@emden
Copy link
Collaborator

emden commented Jun 11, 2017

With the attached file, the lengths of some edges are too long. This occurs in 2.40 but not 2.38. It appears the rank distances are not being set correctly in the cluster. The extra ranks are added to handle the edge labels, but the rank distance is not cut in half. Removing the edge labels, or making them xlabels, or using newrank=true act as workarounds.
lng.gv.txt

pipcet pushed a commit to pipcet/graphviz that referenced this issue Jun 20, 2020
`edgelabel_ranks` gets called for the root graph and all of its cluster
subgraphs. It should only double `ED_minlen` for each edge once. Reverting the
test for labeled edges to check only the active graph, rather than its root,
prevents it from expanding the `minlen` once for every level of cluster
containing the edge.

Fixes ellson#1246
pipcet pushed a commit to pipcet/graphviz that referenced this issue Jun 20, 2020
Prevent exponential growth of length of edges in clusters

Closes ellson#1246

See merge request graphviz/graphviz!1283
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant