nadavrot/layout

generated svg different to expected spec

Opened this issue · 1 comments

drahnr commented

generated with layout-rs
generated with cli tool dot -Tsvg foo > x.svg

The source dot file is both times:

digraph {
node [colorscheme=rdylgn10]
    0 [ label="GoblinTower"]
    1 [ label="Goldmine"]
    2 [ label="💀",fillcolor=black,shape=doublecircle,style=filled,fontname="NotoColorEmoji"]
    3 [ label="",fillcolor=black,shape=doublecircle,style=filled,fontname="NotoColorEmoji"]
    1 -> 0 [ label="Plinko"]

}

Can be checked out in paritytech/orchestra#43 when run with cargo test --all-features

The expectation would be to obtain the identical rendering as retrieved.

Is there anything else you'd need or how I can help?

drahnr commented

Funnily the renderings are more similar when rendered with firefox rather than inkscape 🦢
Both renderings are broken with eye-of-gnome