Dotter is a programmatic dot file generator. It is NOT a dot language renderer, i.e. a replacement for graphviz.
Wikipedia's introduction on the dot language is a good starting point. Alternatively consult the full specification.
- programmatic dot generator
- support for Java objects as nodes
- partial type-safety
TBD
Import the Dotter class and start using it with Dotter.graph(..) or Dotter.digraph(..). For more information read Dotter's Javadoc or check the test.
Any contributions are of course welcome!
- publish library
- subgraphs not yet supported
- rendering support from within Java building upon graphviz or any other renderer, maybe even native Java?
- normalize edges: currently an edge can spawn multiple nodes > aligned to dot language (multiple nodes connected on one line = one edge)
- add DotRenderer tests (necessary?)
- make a fully typed interface (attributes included)
- JSON renderer?
Licensed under the New BSD License (aka Modified BSD License). See LICENSE file.