Closed himi closed 4 months ago
This is just an example with Tree
view:
package Vehicle {
part def Vehicle {
part tire[*];
}
part car : Vehicle {
part :>> tire [4];
}
part bicycle: Vehicle {
part :>> tire[2];
}
part unicycle: Vehicle {
part :>> tire[1];
}
}
This is rendered as below:
This PR supports rendering multiplicities in nodes. So far the visualizer renders multiplicities in edges only. I added three new styles:
If you do not specify any styles, view choose proper multiplicity rendering. For example,
Tree
view shows multiplicities in nodes by default.