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

DOMException during transition when edge arrowsize=0 and shape tweening is enabled #300

Open
magjac opened this issue Jan 18, 2024 · 0 comments
Labels

Comments

@magjac
Copy link
Owner

magjac commented Jan 18, 2024

When transitioning from one graph to another with shape tweening enabled and edge arrowsize=0, the following error appears in the console:

Uncaught DOMException: SVGGeometryElement.getPointAtLength: No path available for measuring
    points tweening.js:32
    pathTweenPoints tweening.js:30
    calculatePathTweenPoints dot.js:203
    postProcessDataPass1Local dot.js:214
    postProcessDataPass1Local dot.js:225
    postProcessDataPass1Local dot.js:216
    postProcessDataPass1Local dot.js:225
    postProcessDataPass1Local dot.js:216
    postProcessDataPass1Local dot.js:225
    postProcessDataPass1Local dot.js:216
    layoutDone dot.js:343
    dot dot.js:118
    layout dot.js:77
    onmessage dot.js:41
    initViz dot.js:39
    Graphviz graphviz.js:159
    selection_graphviz graphviz.js:14
    <anonymous> basic-path-tween.html:11
[d3-graphviz.js:390]

First graph:

digraph {a -> b}

Second graph:

digraph {a -> b [arrowsize=0]}
@magjac magjac added the bug label Jan 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant