Releases: skanaar/nomnoml
Releases · skanaar/nomnoml
SVG shapes get data-name attributes
- Node name is attached to SVG shapes with a
data-name
attribute. Can be used for interactive diagrams.
Improved text layout in SVG
- better heuristic for text width when no rendering context is available
- better text measurement when rendering context is available
Tables
New features
Table
is a new classifier type that displays its compartments in a uniform grid.
Set the first row-break with a double pipe||
.- Non-boxy shapes are laid out properly. Ellipses, rhombuses, and cylinders (
usecase
,choice
, anddatabase
) no longer intersect awkwardly with the arrows.
Bug fixes
- fixed bug where SVG did not support bold text
- fixed bug where SVG did not track lineWidth in push/pop of graphic state
Fixed clipping of relationship labels
- fixed bug where labels could extend outside bounding box
#background directive
Add a directive for specifying background color
Fixed poorly cropped graphs
- fixed incomplete rendering when edges extended outside bounding box
Bugfix
Expose compileFile()
- Expose compileFile() to allow usage in a NodeJS environment
SVG text color bug fix
- fix bug where SVG output did not get the correct text color
Patch fix for vulnerability in transitive dependency
v0.6.1 v0.6.1