Binding diagram to cusom data


Author
Message
yoav Roytenberg
yoav Roytenberg
Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)Junior Member (13 reputation)
Group: Forum Members
Posts: 13, Visits: 1
I need the diagram to bound to my custom tree which is actually composed of nodes, and for each node, there is a list of nodes:

class MyNode
{
MyNode parent;
List childrenList;
int ID;
///Other data

}

How can it be done? I saw in your examples how to bind the diagram to .mdb file using NTreeDataSourceImporter, but i could not use it with my data structure.
I also tried manually creating shapes and setting ActiveLayer.AddChild, but I don't want to handle the shapes coordinates my self, I have a feeling I miss somethig here.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search