Skip to content
Discussion options

You must be logged in to vote

Ok, I found what is the problem. The culprit is the 'style' attribute or, better, the shape value in the xml diagram definition. For example, the following tag is not rendered properly

  <mxCell style="triangle;whiteSpace=wrap;html=1" parent="1" vertex="1">
     <mxGeometry x="300" y="230" width="60" height="80" as="geometry" />
  </mxCell>

but adding 'shape=' in the style attribute as in: style="shape=triangle;whiteSpace=wrap;html=1"

solves the problem.
I'd like to know why in some cases the shape value is expliceted and sometimes it is not...

Replies: 6 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by mark-az
Comment options

You must be logged in to vote
1 reply
@mark-az
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@addzz24
Comment options

@mark-az
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants