@Deuchnord1 wrote:
I'm quite new with GoJS and I would like to make an UML class diagram. I'm using the sample to begin. To make the diagram as easy to read as possible, I would like the generalizations to use a vertical tree layout (angle = 90°) and the aggregations to use an horizontal tree layout (angle = 0°), like in this picture (where I have just moved
Courseclass manually for the example) :The
Courseclass would be in a tree with an 0° angle.I could make tree layouts on aggregations by changing the
convertIsTreeLinkfunction like this:function convertIsTreeLink(r) { return (r === "generalization" || r === "aggregation"); }but I could not change the angle only for aggregations without alternate generalizations too.
Is it possible to use both angles like in the pictures above?
Thanks for your help
Posts: 1
Participants: 1
