wrapWidth doesn't work in entity relation diagrams

0 votes
asked Nov 19 in Bug by anorm (120 points)
edited Nov 20 by anorm

When specifying a `maxWidth` in an entity relation diagram, PlantUML does not take the value into account.

Consider the following diagram:

@startuml

hide circle

hide empty member

skinparam wrapWidth 300

!define Entity(id, name, description) entity "\n **name** \n\n//description//\n" as id

!define Entity(id, name) entity "\n **name** \n" as id

Entity(foo, "Foo", "Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas porttitor congue massa. Fusce posuere, magna sed pulvinar ultricies, purus lectus malesuada libero, sit amet commodo magna eros quis urna. Nunc viverra imperdiet enim.")

Entity(bar, "Bar", "Proin nec augue. Quisque aliquam tempor magna. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas.")

foo }o--|| bar

@enduml

The `skinparam wrapWidth` is ignored. 

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...