rstacruz / kingraph

Plots family trees using JavaScript and Graphviz
439 stars 86 forks source link

Style support appears to be spotty #7

Closed Shizen closed 6 years ago

Shizen commented 6 years ago

I'm not really terribly familiar with graphviz, practically speaking, but even in your own examples, the penstyle: dashed doesn't do anything (from the Potterverse example). (is that even a valid setting)? Anyway, I tried a few others, shape: hexagon, style: dashed, dir: both etc. all were ignored. I didn't look at the source to see why, however.

rstacruz commented 6 years ago

Sorry, I don't know enough to answer this admittedly :(

rstacruz commented 6 years ago

Btw, those get applied as graphviz attributes: http://graphviz.org/doc/info/attrs.html

so the penstyle: dashed would've been made into:

abc -> def [penstyle=dashed]

looking at the docs, yeah, i'm not sure penstyle was valid in the first place.