I’ve changed the pixelratio part and it seems working well also with lower zoom level. I’ve a question more, but related to association timing: when I add a node to diagram and I associate this node into a group directly, committing the operation, when I try to find all node associated to that group with
for (var mit = group.memberParts; mit.next(); )
group parts is void. Why? Is there a delay between commit and effectively populate of the object model?
sequence of operation is:
- myDiagram.startTransaction(“addNode”);
- myDiagram.model.addNodeData({…}); (node is associated to a group)
- myDiagram.commitTransaction(“addNode”);
- find nodes associated to group
what’s wrong?