mstefaniuk / graphviz.it

Graphviz fiddling website
http://graphviz.it
GNU Lesser General Public License v3.0
111 stars 12 forks source link

Parsing of xdot output failed #24

Open poltergeisha opened 5 years ago

poltergeisha commented 5 years ago

When I copy-paste this diagram, which works in graphviz, in to Graphviz it! I get the above error message.

digraph hierarchy {

// Formatting ---------------------------------------------

nodesep=1.0
node [color=black,fontname=Helvetica,shape=box]
edge [color=black, style=dashed] 

// Arrangement --------------------------------------------

// Graph --------------------------------------------------

"Travelling down the river "
    ->{"Role play about Paetrix " 
        "Disccuss decisions about travel "} 

"Role play about Paetrix " 
    -> {"Dance of the Seven Winds"}
    -> "Review map + heart of wild"
    -> {"Disccuss decisions about travel "}

{"Disccuss decisions about travel "}
    -> {"Where to go?"} [label= "*Decision*" fontcolor="red"]

{"Where to go?"}
    -> {"Travel to the Heart of the Wild" "Split the Party" 
        "Attack Needles' Bones"}

"Split the Party"
    -> {"Travel to the Heart of the Wild" 
        "Attack Needles' Bones"} 

"Travel to the Heart of the Wild"
    -> {}

"Attack Needles' Bones"
    -> {"Talk to Fayolla about battle plans" 
        "Run reconnaissance"}

"Talk to Fayolla about battle plans"
    -> "Travel to Needles' Bones"
    -> "Frost Giant party encounter"

{"Frost Giant party encounter"}
    -> "Thyra is harrassed, unsure of what to do" 
            [label= "*Decision*" fontcolor="red"]

{"Thyra is harrassed, unsure of what to do"}
    -> {"Attack them anyway" 
        "Convince Thyra to turn" 
        "Trick them into helping"  
        "Let Thyra go w/ them"
        "Hide"}

{"Attack them anyway" "Convince Thyra to turn"}
    -> "Fight the Giants"

"Run reconnaissance"
    -> "Frost Giant party encounter"
            [label="After recon retreat"]
"Run reconnaissance"
    -> "Get caught by the zhentarim"

"Fight the Giants"
    -> "G: Fight" [label="*Decision*" fontcolor="Red"]

"G: Fight"
    -> {"G:Lose" "G:Win"  "G:Run"} 

"G:Lose"
    -> {}

"Get caught by the zhentarim"
    -> "Break out of prison"

}