Why am I getting overlapping arrows and text in a state uml diagram?

0 votes
asked Jan 3, 2014 in Bug by anonymous

I am new to plantuml so I may be doing something stupid. I have a state transition diagram with overlapping arrows and text. See E->B and B -> E - the text T and Z are overlapping.

@startuml

 

A --> B : P
C --> E : R
E --> C : S
E --> B : T
B --> E : Z
 
state A {
  state C {
    state E {
    }
  }
}
 
state B {
}
 
@enduml
commented Jun 12, 2014 by rpellowski (140 points)
edited Jun 12, 2014 by rpellowski
This is not a solution but will raise the T to prevent overlap:
E --> B : T\n
commented Jul 11, 2014 by anonymous
or just change the order of your transitions ...
I tried B -> E moving to the top already works...
Regards

1 Answer

0 votes
answered Jan 4, 2014 by plantuml (264,940 points)
Hello,

It's a bug... but not sure that this will be easy to fix : There are too many imbricated states.

Anyway, thanks for the report!
commented Jan 4, 2014 by anonymous
I put a breakpoint in the code and pulled the generated dot file contents into a text file and ran dot manually. It has the same problem. I think this might be a problem with dot, not plantuml. I could not figure out any settings that would force dot to generate the correct diagram.
...