Graph being rendered on one long line

0 votes
asked Mar 19 in Bug by anonymous

Hi,

Some engines seem to be rendering my graph as a very long line whilst others produce a nice diagram.

Any ideas? I have tried plantuml limit size adjustment but that doesn't help.

Thanks.

For the record this is the code I am using:

@startuml
skinparam wrapWidth 200
skinparam shadowing false
skinparam rectangle{
 BorderColor<<C1>> #ccff00
 BorderColor<<J2>> #00ff66
 BorderColor<<J1>> #0066ff
 BorderColor<<S1>> #cc00ff
 BorderColor<<U1>> #ff0000
 BorderThickness<<p1>> 7
 BorderThickness<<p2>> 5
 BorderThickness<<p4>> 3
 BackgroundColor<<NEW>> #ffb8b8
 BackgroundColor<<ASGN>> #ffd5b8
 BackgroundColor<<INPROG>> #fff3b8
 BackgroundColor<<COMMIT>> #edffb8
 BackgroundColor<<RF_SR>> #cfffb8
 BackgroundColor<<SR>> #b8ffbe
 BackgroundColor<<RF_CR>> #b8ffdb
 BackgroundColor<<CR>> #b8fff9
 BackgroundColor<<CLOSED>> #b8e7ff
}

rectangle "foo0" {
package "foo01" {
  rectangle "foo012" <<C1>>
  rectangle "foo013" <<J2>>
  rectangle "foo014" <<J1>>
  rectangle "foo015" <<S1>>
  rectangle "foo016" <<U1>>
}
package "foo1" {
  rectangle "foo11" <<p1>>
  rectangle "foo12" <<p2>>
  rectangle "foo13" <<p4>>
}
package "foo2" {
  rectangle "foo21" <<NEW>>
  rectangle "foo22" <<ASGN>>
  rectangle "foo23" <<INPROG>>
  rectangle "foo24" <<COMMIT>>
  rectangle "foo25" <<RF_SR>>
  rectangle "foo26" <<SR>>
  rectangle "foo27" <<RF_CR>>
  rectangle "foo28" <<CR>>
  rectangle "foo29" <<CLOSED>>
}
}
rectangle "foo" as 1964<<CLOSED>><<J1>>
rectangle "foo" as 1987<<CLOSED>><<J1>>
rectangle "foo" as 2011<<INPROG>><<C1>><<p1>>
rectangle "foo" as 2014<<INPROG>><<U1>>
rectangle "foo" as 2030<<CLOSED>><<J1>>
rectangle "foo" as 2054<<CLOSED>><<J1>>
rectangle "foo" as 2111<<INPROG>><<U1>>
rectangle "foo" as 2116<<CLOSED>><<S1>><<p1>>
rectangle "foo" as 2117<<CLOSED>><<J1>><<p1>>
rectangle "foo" as 2118<<INPROG>><<S1>>
rectangle "foo" as 2119<<INPROG>><<C1>><<p1>>
rectangle "foo" as 2120<<CLOSED>><<J1>>
rectangle "foo" as 2121<<INPROG>><<C1>>
rectangle "foo" as 2122<<NEW>><<J1>>
rectangle "foo" as 2123<<NEW>><<J1>><<p4>>
rectangle "foo" as 2124<<SR>><<J1>><<p1>>
rectangle "foo" as 2125<<CLOSED>><<U1>>
rectangle "foo" as 2126<<INPROG>><<U1>><<p1>>
rectangle "foo" as 2127<<ASGN>><<C1>>
rectangle "foo" as 2128<<ASGN>><<S1>><<p1>>
rectangle "foo" as 2129<<ASGN>><<J2>>
rectangle "foo" as 2130<<ASGN>><<J2>><<p2>>
rectangle "foo" as 2131<<ASGN>><<J2>>
rectangle "foo" as 2132<<ASGN>><<C1>><<p2>>
rectangle "foo" as 2133<<ASGN>><<S1>>
rectangle "foo" as 2139<<ASGN>><<C1>>
rectangle "foo" as 2140<<ASGN>><<C1>>
rectangle "foo" as 2141<<ASGN>><<C1>>
rectangle "foo" as 2142<<ASGN>><<J1>>
rectangle "foo" as 2143<<ASGN>><<U1>>
rectangle "foo" as 2144<<NEW>><<J1>>
rectangle "foo" as 2145<<ASGN>><<J2>>
rectangle "foo" as 2146<<ASGN>><<S1>>

1964 -> 2030
1987 -> 2014
2111 -> 2014
2116 -> 2117
2116 -> 2118
2118 -> 2119
2119 -> 2011
2120 -> 2011
2054 -> 2121
2011 -> 2121
2121 -> 2122
2122 -> 2123
2011 -> 2124
2124 -> 2014
2121 -> 2126
2124 -> 2126
2011 -> 2126
2125 -> 2126
2118 -> 2127
2011 -> 2127
2124 -> 2127
2127 -> 2128
2116 -> 2128
2014 -> 2129
2126 -> 2130
2121 -> 2130
2129 -> 2130
2030 -> 2130
2130 -> 2131
2130 -> 2132
2128 -> 2133
2132 -> 2133
2121 -> 2139
2139 -> 2140
2140 -> 2141
2139 -> 2141
2142 -> 2143
2141 -> 2143
2143 -> 2144
2144 -> 2145
2130 -> 2145
2145 -> 2146
2146 -> 2133
@enduml

1 Answer

0 votes
answered Mar 19 by plantuml (215,660 points)
commented Mar 19 by anonymous
Brilliant. I'm generating it from our task management tool and using the styling to show status, owner and deadline. Next step is to ask do I dare trying to work out how to generate the timeline version...
...