Welcome to yEd Q&A!
Here you can ask questions and receive answers from other members of the community and yEd developers. And you can tell us your most wanted feature requests.

Categories

probably a bug in yEd Live or in my DOT file?

0 votes
Hi,

Just I tried to import a local DOT file using yEd Live Version 5.2.15 and falled into this trap:

Uncaught (in promise) TypeError: t is null
    x https://www.yworks.com/yed-live/js/app.004fae45.js:1
    Dt https://www.yworks.com/yed-live/js/app.004fae45.js:1
    Mt https://www.yworks.com/yed-live/js/app.004fae45.js:1
    It https://www.yworks.com/yed-live/js/app.004fae45.js:1
    kt https://www.yworks.com/yed-live/js/app.004fae45.js:1
    Tt https://www.yworks.com/yed-live/js/app.004fae45.js:1
    At https://www.yworks.com/yed-live/js/app.004fae45.js:1
    $t https://www.yworks.com/yed-live/js/app.004fae45.js:1
    Et https://www.yworks.com/yed-live/js/app.004fae45.js:1
    St https://www.yworks.com/yed-live/js/app.004fae45.js:1
    vt https://www.yworks.com/yed-live/js/app.004fae45.js:1
    on https://www.yworks.com/yed-live/js/app.004fae45.js:1
    e https://www.yworks.com/yed-live/js/app.004fae45.js:1
    l https://www.yworks.com/yed-live/js/vendor.a056a133.js:33
    C https://www.yworks.com/yed-live/js/vendor.a056a133.js:33
    S https://www.yworks.com/yed-live/js/vendor.a056a133.js:33
    Gn https://www.yworks.com/yed-live/js/app.004fae45.js:1
    o https://www.yworks.com/yed-live/js/app.004fae45.js:1
    promise callback*Gn https://www.yworks.com/yed-live/js/app.004fae45.js:1
    o https://www.yworks.com/yed-live/js/app.004fae45.js:1
    zn https://www.yworks.com/yed-live/js/app.004fae45.js:1
    zn https://www.yworks.com/yed-live/js/app.004fae45.js:1
    t https://www.yworks.com/yed-live/js/app.004fae45.js:1
    value https://www.yworks.com/yed-live/js/app.004fae45.js:1
    value https://www.yworks.com/yed-live/js/app.004fae45.js:1
    value https://www.yworks.com/yed-live/js/app.004fae45.js:1
    setTimeout handler*value/< https://www.yworks.com/yed-live/js/app.004fae45.js:1
    value https://www.yworks.com/yed-live/js/app.004fae45.js:1
    value https://www.yworks.com/yed-live/js/app.004fae45.js:1
    setTimeout handler*value/< https://www.yworks.com/yed-live/js/app.004fae45.js:1
    value https://www.yworks.com/yed-live/js/app.004fae45.js:1
    onload https://www.yworks.com/yed-live/js/app.004fae45.js:1
    value https://www.yworks.com/yed-live/js/app.004fae45.js:1
    setTimeout handler*value/< https://www.yworks.com/yed-live/js/app.004fae45.js:1
    value https://www.yworks.com/yed-live/js/app.004fae45.js:1
    IoMixin_importDocument https://www.yworks.com/yed-live/js/app.004fae45.js:1
    openFile https://www.yworks.com/yed-live/js/app.004fae45.js:1
    created https://www.yworks.com/yed-live/js/app.004fae45.js:1
    ie https://www.yworks.com/yed-live/js/vendor.a056a133.js:54
    $emit https://www.yworks.com/yed-live/js/vendor.a056a133.js:54
    openFile https://www.yworks.com/yed-live/js/app.004fae45.js:1
    promise callback*openFile https://www.yworks.com/yed-live/js/app.004fae45.js:1
    ie https://www.yworks.com/yed-live/js/vendor.a056a133.js:54
    n https://www.yworks.com/yed-live/js/vendor.a056a133.js:54
    ie https://www.yworks.com/yed-live/js/vendor.a056a133.js:54
    $emit https://www.yworks.com/yed-live/js/vendor.a056a133.js:54
    click https://www.yworks.com/yed-live/js/vendor.a056a133.js:6
    ie https://www.yworks.com/yed-live/js/vendor.a056a133.js:54
    n https://www.yworks.com/yed-live/js/vendor.a056a133.js:54
    _wrapper https://www.yworks.com/yed-live/js/vendor.a056a133.js:54
app.004fae45.js:1:553553

Probably the DOT file is not really clean but it should not trap, no?
in Help by

1 Answer

0 votes
The DOT support in yEd Live is quite limited. It mostly supports the general graph structure and some very simple styling options.

This error usually indicates the usage of a certain GraphViz feature that cannot be parsed by yEd Live.

Please try to reduce your DOT file to the point where it can be loaded (e.g. remove any legend, advanced styling etc.), then add additional features to see what doesn't work.

If your file doesn't contain any confidential or personal data, you could also post it here and I'll have a look at what the problem may be.
by [yWorks] (1.3k points)
Hi,
Thanks.
The DOT file was generated by a tool (SchemaCrawler) that for sure adds some styling options that way break the DOT parser. I could send you a sample if you need. It is just because then the UI was entirely Ā«frozenĀ» (like trap in an infinite loop?) and so I had to close the browser tab then.
Although not everything works regarding the DOT files, it should never freeze when it fails. So I'd appreciate if you could send me a sample to fabian.schwarzkopf@yworks.com which lets me reproduce the behavior.
Legal Disclosure | Privacy Policy
...