Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
148633 | Oct 28,2019 08:10 PM UTC | Nov 6,2019 04:03 PM UTC | React - EJ 2 | 3 |
![]() |
Tags: Diagram |
const loadDiagram = () => {
console.log("save is", save)
// iterate the nodes
for(let i=0; i< save.nodes.length; i++) {
let node = save.nodes[i];
// remove the connect constraints
node.constraints = NodeConstraints.Default &~(NodeConstraints.InConnect | NodeConstraints.OutConnect);
}
save = JSON.stringify(save)
diagramInstance.loadDiagram(save)
} |
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.