Performance issue for Big Data

Hi
I am using gojs with Angular Component.

My Diagram take too much of time to load For big amount of data. Currently I am phasing loading issue with node Count 2252 and link Count 120.

I am using LayeredDigraphLayout in my Diagram and For Node Creation using nodeTemplateMap and groupTemplateMap.

and also take too much of time for Expand Group Node.

I’m surprised that you only have 120 links in a graph with 2252 nodes. That should layout pretty quickly.

Are you using version 2.3 of the GoJS library? We recommend that you set LayeredDigraphLayout.alignOption, usually to go.LayeredDigraphLayout.AlignAll. That should help with the layout time.

Hi
Yes, I am using Gojs Version 2.3.10.

Please Suggest Performance Improving Properties for LayeredDigraphLayout.

and still Group Node take too much of time to Expand.

Group Node Code:

var groupTemplate =
$(go.Group, “Auto”,
{
layout: $(go.LayeredDigraphLayout,
{
direction: 90,
layerSpacing: 120,
columnSpacing: 40,
linkSpacing: 4,
setsPortSpots: false,
packOption: go.LayeredDigraphLayout.PackMedian,
alignOption: go.LayeredDigraphLayout.AlignAll

        }),
      isSubGraphExpanded: false,
      fromSpot: go.Spot.BottomSide,
      toSpot: go.Spot.TopSide,

    },

Don’t bother setting packOption.

How many nodes and how many links are there in a group?
What is your Diagram.layout, and how many top-level nodes and links are there?

1.there is no fixed Count of nodes and links for group.
2.i am using LayeredDigraphLayout For Diagram and node Count is 2000, link Cout is 18000

I was asking for typical numbers within the Groups.
2000 and 18000 are only for top-level Nodes and Links? Or are those the totals for the whole diagram?
How long do initial loading and group expansion take?
It might be helpful if you provided a screenshot so we can see how the graph is structured with so many links.