kieler / klighd-vscode

Eclipse Public License 2.0
8 stars 6 forks source link

Node titles with multiple stiched together KText elements create unwanted rendering of the titles when zoomed out #28

Closed NiklasRentzCAU closed 2 years ago

NiklasRentzCAU commented 2 years ago

If some synthesis chooses to mark multiple KText elements per node as "node title", such as SCCharts does for class hierarchies and referenced charts, the rendering goes wrong: overlapping-node-label

Initially the feature expected at most one KText per node to have this property and this case shows that this cannot be expected.

NiklasRentzCAU commented 2 years ago

I think this may be solvable by changing the node title KText to a single node title general rendering which will be enlarged as a single text is currently. That way for this case the (invisible) rectangle containing these texts can be marked as the node 'label' and will therefore be enlarged to fit the space.