Profile Picture

NErmConnector

Posted By Golay Jean-Philippe 14 Years Ago
Author
Message
Nevron Support
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

It depends on your data and goals, but most users prefer using the Layered Graph Layout (with a direction set to LeftToRight) for automatic layout of ERM diagrams.



Best Regards,
Nevron Support Team



Golay Jean-Philippe
Posted 14 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 8, Visits: 1
What is the best Layout for NErmShapes?
Thanks

Nevron Support
Posted 14 Years Ago
View Quick Profile
Supreme Being

Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)Supreme Being (4,435 reputation)

Group: Forum Members
Last Active: Last Week
Posts: 3,054, Visits: 4,009

Hi,

To connect 2 shapes exactly to the fields (plugs) you want you should connect the plugs of the erm connector to the proper ports of the shapes:

 

edge.StartPlug.Connect(port1);               

edge.EndPlug.Connect(port2);



Best Regards,
Nevron Support Team



Golay Jean-Philippe
Posted 14 Years Ago
View Quick Profile
Forum Newbie

Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)Forum Newbie (8 reputation)

Group: Forum Members
Last Active: 14 Years Ago
Posts: 8, Visits: 1
I would like to connect to NErmShapes with a NErmConnector programatically ?
How to specify which table fields to connect to?
I tried
NErmConnector line12 = new NErmConnector();
line12.StyleSheetName = NDR.NameConnectorsStyleSheet;
line12.Text = "JPG";
nDrawingDocument1.ActiveLayer.AddChild(line12);
line12.FromShape = nErmShape1;
line12.ToShape = nErmShape2;

But the line does not appears?

Thanks



Similar Topics


Reading This Topic