Skip to content

Performance improvement #5

@florianeichin

Description

@florianeichin

Hi Daniel,
we are adding hundreds of custom nodes and links when loading our graphs by calling these functions:

this._diagramModel.addNodes(this._nodesToAdd);
this._diagramModel.addLinks(this._linksToAdd);

this takes 480ms for the links and 342ms for the nodes. Is there anything we can do to improve the performance on that side?
I thought on something like disabling the canvas, adding everything and then enabling it again or something in that direction. Can you help out here or is it simply as it is ;-)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions