Skip to content

gui_toolkit 0.149.0

Choose a tag to compare

@sachahjkl sachahjkl released this 10 Nov 15:18
· 2415 commits to master since this release
v0.149.0
062a8b5

Added

  • Diagrams: the svg and mermaid packages (docs/diagrams.md). svg.parse reads a drawing in SVG (paths and every command of them, rects, circles, ellipses, lines, polygons, texts and tspans, markers, transforms, fills, strokes, dashes, opacities, the style attribute) and svg.draw_doc draws it with the toolkit's paths and fonts, at any scale. mermaid.diagram lays out a Mermaid diagram's text (flowchart, sequence, class, state, ER, gantt, pie, mindmap, timeline, git graph...) through mermaid-svg in native/mermaid (tools/tk build_mermaid, about 1 MB; -define:MERMAID_NATIVE_LINK=false for a program that builds gt_mermaid into its own Rust library) and gives that drawing.