Adding Database Diagramm like Link

Hi all

I’m still developping my DB Visualization Programm :-)
One question…

I got two ClassDiagramNode nodes on my Document.
Now I would like to add a DB Model like Link betwenn them. The Relation Multiplicy (1…0,*, etc.) should be shown as Text on the right side of the Link…

How can I realize that ? any Examples arround ?

Peter

Use GoLabeledLink. It gives you 3 labels: ToLabel, FromLabel and MidLabel (which can be a GoText… or any GoObject).



GoLabeledLinklink = new GoLabeledLink();

GoText t = new GoText();

t.Text = “0…1”;

t.Editable = true;

link.ToLabel = t;