how to add horizontal line in object diagram?

0 votes
asked Aug 2, 2018 in Question / help by anonymous
like in this picture, https://coldnew.github.io/787b7d73/graphviz-datastructure.png

I want to make the object field separated by horizontal lines.

1 Answer

0 votes
answered Aug 2, 2018 by plantuml (294,960 points)

It's not working for object, but for class you can have :

@startuml
hide CircledCharacter
class foo {
dummy1
--
dummy2
}
@enduml

http://www.plantuml.com/plantuml/uml/SoWkIImgAStDuSh8J4bLSCuiIiv9JN7EI2nAJ2v9BU9ApaaiBbP8oyzNgEPAAStDhJJaqjM5i8ouQhaSKlE0x1m0

commented Aug 2, 2018 by anonymous
yes.  that's the workaround.
...