Repository navigation
v0.2.6
This version is a patch. It adds arrowheads and solid extra edges to the SVG export. It also gives fitText and the SVG export labels with more than one line.
- The new option
arrowsoftoSVGgives each edge an arrowhead at its target. The default is false. - The arrowhead has the color of its edge: the color
edgeof the theme, orextraEdgefor an extra edge. - The new option
dashesoftoSVGdraws the extra edges with solid lines when it is false. The default is true, and the extra edges have dashes, as in 0.2.5. - A label with line breaks (
\n) has one line for each part.fitTextmakes the box as wide as the widest line, and as high as all the lines. toSVGdraws each line of such a label at the center of the box, with the line height offitText.- In 0.2.5,
fitTextmeasured such a label as one line, andtoSVGdrew it on one line. A label with no line break gets the same box and the same SVG as in 0.2.5. - The live renderers
mountSvg,mountDomandmountCanvasdraw each label on one line, as before.