Method ToJson
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
ToJson()
Writes the graph as JSON: schema opencad2d.graph, version 1, tolerance, nodes (each
with its id, handle, kind, layer, colour, linetype, layout, box in millimetres, block path and words) and
edges (source, target, kind as touches, contains, dimensions or
annotates, and at, the place in millimetres or null), then truncated and edgesFound
(Truncated, EdgesFound).
public string ToJson()
Returns
- string
The JSON text.