skanaar / nomnoml

The sassy UML diagram renderer
https://www.nomnoml.com
MIT License
2.66k stars 208 forks source link

Edge label is clipped off #103

Closed clement911 closed 3 years ago

clement911 commented 5 years ago

I'm evaluating nomnoml for our app but after playing a little bit I found out edge labels can be cut off.

For example:

[Order|
A
B
C
D
]

[Order line|
Z
Y
X
]

[Order]Order<-> OrderLines[Order line]

image

Is there a workaround?

skanaar commented 5 years ago

Ah, good catch.

skanaar commented 5 years ago

A workaround for this would be to use the #gutter directive.

#gutter:50
[Order]Order<-> OrderLines[Order line]
skanaar commented 3 years ago

This is now fixed in v0.9.0. 🎉