DiagramBuilder.toJSON()
returns a JSON representation of the diagram. How can I use this JSON object to create a new DiagramBuilder
with the same diagram?
相关问题
- Is there a limit to how many levels you can nest i
- Jackson Deserialization not calling deserialize on
- How to maintain order of key-value in DataFrame sa
- How to toggle on Order in ReactJS
- StackExchange API - Deserialize Date in JSON Respo
You can pass the
jsonData.nodes
to thefields
attribute of theDiagramBuilder
:You can pass the result of DiagramBuilder.toJSON() to the fields parameter of the DiagramBuilder. See the example below.