GoDiagram Add 15,000 Connected Nodes

Load 15,000 records

I have 15,000 connected records<?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

Column A connects to Column B

A->B

A->C

B->D

B->E

C->F

A->D

Loop Recordset

Find NODE-A …

Insert NODE-A Column A

Find NODE-B …

Insert NODE-B Column B

LINK NODE-A.Port to NODE-B.Port

Repeat

What is the fastest way to add and link nodes?

Thanks

I think the User Guide gives some suggestions for performance issues when dealing with thousands of nodes.
Be sure not to use the undo manager by either not setting GoDocument.UndoManager until after loading, or by setting GoDocument.SkipsUndoManager to true.
For finding, the PartID mechanism uses a hashtable. But I don’t know what key you are using in your table, so you may find that using your own hashtable would be more convenient and efficient.