Skip to content

v0.4.0 JSON I/O update, bug fixes

Compare
Choose a tag to compare
@ChrisRus ChrisRus released this 27 May 08:47
· 201 commits to master since this release

Breaking change for persisted JSON data (e.g. in a file or database): I've simplified the JSON export format and broken backwards compatibility with v0.3.0 JSON export format. Substantially the format is unchanged with only minor changes to the outer object namespaces. Latest looks like this:

var digraph = new jsgraph.DirectedGraph()
digraph.toJSON()
'{"jsgraph":{"digraph":{"vertices":[],"edges":[]}}}'