Maximize productivity with
30% off* for a limited time
using BOOSTDEV30.
Includes 3- and 5-packs.
*Some exclusions may apply.New Product LaunchBoldDesk: Help desk ticketing software starts at $10 for 3 agents.
Try it for free.
<DiagramComponent id="diagram" width={"100%"} height={"700px"}
click = {(args)=> {
let node = args.element;
if(node.shape && node.shape.type === 'Flow') {
//change borderColor
node.style.strokeColor = 'red';
node.style.strokeWidth = 3;
}
}}/> |
created={(args) => {
//get a nodes collection
let nodes = diagramInstance.nodes;
//iterate a node collection
for (var i = 0; i < nodes.length; i++) {
let node = nodes[i];
node.style.strokeColor = 'red'
}
}} |