You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rdfpuml mangles (...) to [...] to avoid parasitic compartments (horizontal lines),
since PlantUML assumes a field name with parens to be a method and moves it in a compartment above attributes:
The system checks for parenthesis to choose between methods and fields.
@startuml
hide empty members
hide circle
skinparam classAttributeIconSize 0
class _person_id_ as "<person/(id)>"
_person_id_ : a s:Person
_person_id_ : s:additionalType <type/[type]>
_person_id_ : s:name "[name]"
@enduml
Which results in this (notice the square brackets):
tests/parens-not-brackets
Take a simple model with field names embedded in URL and attribute;
rdfpuml
mangles(...)
to[...]
to avoid parasitic compartments (horizontal lines),since PlantUML assumes a field name with parens to be a method and moves it in a compartment above attributes:
Which results in this (notice the square brackets):
We can use this new feature from plantuml/plantuml#536 (comment):
Which results in this (notice the parens):
The text was updated successfully, but these errors were encountered: