v1.2.0
v1.2.0
Added
- Support for 20 Mermaid diagram types (flowcharts, sequence diagrams, class diagrams, state diagrams, ER diagrams, Gantt charts, pie charts, git graphs, mindmaps, timelines, block diagrams, C4 diagrams, network diagrams, packet diagrams, quadrant diagrams, requirement diagrams, Sankey diagrams, XY charts, and large diagrams)
- SVG and PNG export for all diagram types
Fixed
- Mermaid arrow label parsing (
-->|label|syntax) - Arrow style detection (dotted vs dashed)
- Layout viewport recalculation — prevents PNG cropping
- Improved PNG margins to ensure no content is cut off
Changed
- Migrated to pyproject.toml based build system
- CI pipeline with ruff, mypy, and pytest
Notes
- Minimum Python: 3.10
- For PNG export, Playwright is required (
playwright install chromium)
Full changelog: https://github.com/devasishpal/PiDraw/blob/main/CHANGELOG.md