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

The whole graph is not always visible during animation if the width increases #9

Closed
magjac opened this issue Apr 24, 2020 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@magjac
Copy link
Owner

magjac commented Apr 24, 2020

The width is also increased through an animated transition. I some cases the rightmost parts of the graph may fade in while temporarily being outside the visible area.

A solution could be to set the SVG width to the same as the rest of the paragraph.

Example of such DOT sources:

[dot]
digraph {
a -> b
}
[/dot]
[dot]
digraph {
a -> b
a -> c
}
[/dot]
[dot]
digraph {
a -> b
a -> c
b -> c
}
[/dot]
@magjac magjac self-assigned this Apr 24, 2020
@magjac magjac added the bug Something isn't working label Apr 24, 2020
magjac added a commit that referenced this issue Apr 26, 2020
@magjac magjac closed this as completed in c3dfb70 Apr 26, 2020
magjac added a commit that referenced this issue Apr 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant