Skip to content

GraphViz.layout! command causes Malt.TerminatedWorkerException() #3128

@danvinci

Description

@danvinci

Reproducible example:

using GraphViz

g_dot_spec = dot"""digraph G {
rankdir="LR"
    1 [label="{b | data -3.0 | grad -4.0 }"][shape="record"];
    2 [label="{c | data 10.0 | grad -2.0 }"][shape="record"];
    3 [label="{L | data -8.0 | grad 0.0 }"][shape="record"];
    4 [label="*"];
    5 [label="{f | data -2.0 | grad 4.0 }"][shape="record"];
    6 [label="{a | data 2.0 | grad 6.0 }"][shape="record"];
    7 [label="{e | data -6.0 | grad -2.0 }"][shape="record"];
    8 [label="*"];
    9 [label="{d | data 4.0 | grad -2.0 }"][shape="record"];
    10 [label="+"];
    1 -> 8;
    2 -> 10;
    4 -> 3;
    5 -> 4;
    6 -> 8;
    7 -> 10;
    8 -> 7;
    9 -> 4;
    10 -> 9;
}"""

above will work (although output is broken, JuliaGraphs/GraphViz.jl#38)

GraphViz.layout!(g_dot_spec, engine = "dot")
this causes the exception

also reported in GraphViz repo: JuliaGraphs/GraphViz.jl#38 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions