- Add
data-compartment
attribute to SVG output for identifying the compartment index when building interactivity.
- Fix bug when running
nomnoml-cli
with input files in the same directory.
- Fix bug where hash character was interpreted as a directive in the middle of a line
- Restore parser behavior where comments are only supported at the start of a line
- Rewritten parser
- Chain multiple associations on a single line
- Supply id separately from node display name
- Removed Weightless Edge feature "[a] _ [b]"
- Fix a bug with unsupported variables names in some runtimes
- upgrade dependencies
- Fix a bug in SVG rendering of association diamonds
- Fix a bug where SVGs did not include their source in the desc tag
- Fix a bug where table nodes produced invalid SVG
- SVG output is generated with a proper element hierarchy
- ball and socket connections for expressing required and provided interfaces
- fix bug where bundles were incompatible with Node 12
- More options to style text
- Style node titles with
title=bold,italic,left
- Style node bodys with
body=bold,italic,left
- Nicer database graphics
- More descriptive compilation errors
- Switch to Graphre (a forked version of Dagre)
- Support Webpack
Webapp
- Folders in file system view
- Always as for filename when saving a #view url graph
- Improved file system view
- Fixed layout bug when using HIDDEN nodes
- Fixed bug where SVG attributes were not properly escaped
- New association type
_>
that creates a shorter (weightless) edge - New directive
#gravity: 0
that makes every association weightless - Type definitions included (typescript .d file)
- Drop ES3 support and target ES5 explicitly
- Fix bug when setting background color with
#background:
- Node name is attached to SVG shapes with a
data-name
attribute. Can be used for interactive diagrams.
- Tweaked the text measurement heuristic for better handling of long texts.
- better heuristic for text width when no rendering context is available
- better text measurement when rendering context is available
- 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 (, , and ) no longer intersect awkwardly with the arrows.
- fixed bug where SVG did not support bold text
- fixed bug where SVG did not track lineWidth in push/pop of graphic state
- fixed bug where labels could extend outside bounding box
- #background directive to specify background color
- fixed incomplete rendering when edges extended outside bounding box
- upgraded dependencies
- fixed bug in compileFile()
- expose compileFile to allow usage in a NodeJS environment
- fix bug where SVG output did not get the correct text color
- upgrade Lodash to fix a security vulnerability
- fixed crash when two relations had the same start and end
- improved text centering in SVG output
- dagre library upgraded to 0.8.4
- version published as a
nomnoml.version
property
- ie/edge support for downloading png images
- when new code results in parsing error, render last successful code.
- self referential associations are broken