idekerlab / dot-app

Cytoscape application for exporting to .dot file format
GNU General Public License v3.0
7 stars 4 forks source link

Parse failures #17

Closed georgefst closed 4 years ago

georgefst commented 4 years ago

None of my graphs can be parsed (they work fine with dotty and other tools. Using the output of neato makes no difference. One such example is this:

digraph {
    graph [rankdir=LR];
    node [];
    edge [];
    subgraph 0 {
        graph [label="n"];
        0 [label="",color="#0000ff"];
        1 [label="",color="#0000ff"];
    }
    subgraph cluster_1 {
        graph [label="Round 1"];
        2 [label=a,color="#ff0000"];
        3 [label=b,color="#ff0000"];
    }
    subgraph cluster_2 {
        graph [label="Round 2"];
        4 [label=a,color="#ff0000"];
        5 [label=b,color="#ff0000"];
    }
    0 -> 2 [color="#0000ff"];
    1 -> 4 [color="#0000ff"];
    2 -> 1 [label=False];
    2 -> 3 [label=True];
    3 -> 1 [label=True];
    4 -> 1 [label=False];
    4 -> 5 [label=True];
    5 -> 1 [label=True];
}
georgefst commented 4 years ago

Closing this after reading the PDF about converting (I was using several unsupported constructs).