Reputation: 234
In JointJS, how can I add a cell to a graph without triggering any events? When I pass the optional arguments:
{
silent: true
}
The cell is not rendered in the paper.
Upvotes: 4
Views: 649
Reputation: 26075
This is by design, checkout Selection Collection section of jointjs docs.
selection.collection.add(element, { silent: true}); // add element to the collection, but renders no selection box.
Upvotes: 1