We need to define a custom edge (basically a dashed arrow with a little circle at the beginning). We have used this xml:

\n
<shape name="message_flow" h="6.0" w="100.0">\n    <foreground>\n        <save/>\n        <restore/>\n        <save/>\n        <strokewidth width="1"/>\n        <ellipse x="0.0" y="0.0" w="6.0" h="6.0"/>\n        <fillstroke/>\n        <path>\n            <move x="6" y="3"/>\n            <line x="100" y="3"/>\n        </path>\n        <stroke/>\n        <restore/>\n        <save/>\n        <path>\n            <move x="100" y="3"/>\n            <line x="97" y="0"/>\n            <line x="97" y="6"/>\n            <close/>\n        </path>\n        <fillstroke/>\n        <restore/>\n    </foreground>\n</shape>\n
\n

But, when we draw this edge between two shapes, it doesn't work as expected, because it's not rotated nor is it scaled. Please see http://imgur.com/QS45c to see what we are getting.

asked 14 Mar '12, 06:25

abergia's gravatar image

abergia
113
accept rate: 0%

edited 14 Mar '12, 06:26


Stencils are currently only supported for vertices, not edges. You can define custom markers as shown in the markers example.

link

answered 14 Mar '12, 23:16

Gaudenz's gravatar image

Gaudenz
80.1k1310
accept rate: 39%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×228
×100
×22

Asked: 14 Mar '12, 06:25

Seen: 1,665 times

Last updated: 14 Mar '12, 23:16