Improving the Performance of the Diagram
While performing interaction in the diagram containing lots of nodes (for example: 100 Nodes and 100 Connectors) there will be a dispute in its performance. To overcome the dispute we need to Pause and Resume some of the services which utilizes maximum resources which will be a reason for the performance dispute.
We have listed the services which results maximum resource utilization:
LinkManager holds the information about the connected Nodes in the diagram.
HistoryManager holds the history of the diagram like adding a node and deleting a node.
BridgeManager holds the information’s about bridging which is enabled when two connectors intersects each other.
EventSink holds information about the events which are registered in the control.
Pause the Service:
The below code snippet is used to pause the service.
Resuming the Service:
The below code snippet is used for resuming the service.
|Article ID:||Published Date:||Last Revised Date:||Platform:||Control:|