Skip to content

Releases: skanaar/nomnoml

Bugfix

21 Sep 08:28
Compare
Choose a tag to compare
  • Fix bug when setting background color with #background:

SVG shapes get data-name attributes

14 Sep 12:47
Compare
Choose a tag to compare
  • Node name is attached to SVG shapes with a data-name attribute. Can be used for interactive diagrams.

Improved text layout in SVG

11 Sep 12:01
Compare
Choose a tag to compare
  • better heuristic for text width when no rendering context is available
  • better text measurement when rendering context is available

Tables

31 Aug 06:45
Compare
Choose a tag to compare

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, and database) 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

26 Aug 15:02
Compare
Choose a tag to compare
  • fixed bug where labels could extend outside bounding box

#background directive

09 Jul 08:56
Compare
Choose a tag to compare

Add a directive for specifying background color

Fixed poorly cropped graphs

08 Jul 09:18
Compare
Choose a tag to compare
  • fixed incomplete rendering when edges extended outside bounding box

Bugfix

04 May 07:38
Compare
Choose a tag to compare
  • fixed bug in compileFile()

Expose compileFile()

04 May 07:36
Compare
Choose a tag to compare
  • Expose compileFile() to allow usage in a NodeJS environment

SVG text color bug fix

23 Nov 10:32
Compare
Choose a tag to compare
  • fix bug where SVG output did not get the correct text color