Based on the GoJS document, I understand that most time model.applyIncrementalJson is called after model.toIncrementalJson and use the JSON-formatted string generated from it.
My question is: can we call model.applyIncrementalJson directly with some manually crafted string without calling model.toIncrementalJson? For example, I want to add 3 nodes, instead of calling model.addNodeData 3 times, can I put them into a JSON-formatted string and call model.applyIncrementalJson? Is it a valid use case? If yes, do you have any documentation on the format and allowed attributes of the incrementalJson string?
Thanks,
Min