node shape unable to display if SVG is in one line
node shape unable to display if everything in the SVG is in one line. If xml and svg tags are in two different rows, bug gone. Also, has to be start at the beginning of line, if tab or space in from of it, dot doesn't work.
digraph g{
node1[shape="box", label="", image="EDA.svg"]
node2[label="fuck me"]
node1 -> node2
}
EDA.svg:
<?xml version="1.0" encoding="UTF-8"?><svg id="Logic_Synthesizer" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 425.65 413.68"><defs><style>.cls-1{fill:#f1faee;}.cls-2{fill:#1e3557;}.cls-3{fill:#e63a46;font-family:ToppanBunkyuMidashiGothicStdN-ExtraBold-83pv-RKSJ-H, 'Toppan Bunkyu Midashi Gothic';font-size:120px;font-weight:700;}.cls-4{letter-spacing:0em;}</style></defs><circle class="cls-2" cx="212.83" cy="206.84" r="195.53"/><circle class="cls-1" cx="212.83" cy="206.84" r="168.39"/><text class="cls-3" transform="translate(96.84 257.33)"><tspan x="0" y="0">E</tspan><tspan class="cls-4" x="70.56" y="0">D</tspan><tspan x="157.2" y="0">A</tspan></text></svg>
Edited by Peter