Please render Simple state in a simple manner

0 votes
asked Aug 11, 2018 in Wanted features by abh (130 points)

As you can see in the following example (from plantuml site), `State2` can be rendered with a simple box. But right now it shows as a box with two partitions, one of which is empty. For large diagrams, this unnecessarily takes a lot of space.

example state diagram

1 Answer

+2 votes
answered Aug 25, 2018 by plantuml (204,600 points)

You can use "hide empty description" command :

hide empty description
[*] --> State1
State1 --> [*]
State1 : this is a string
State1 : this is another string

State1 -> State2
State2 --> [*]