Skip Menu |

This queue is for tickets about the UML-Sequence CPAN distribution.

Report information
The Basics
Id: 34412
Status: new
Priority: 0/
Queue: UML-Sequence

People
Owner: Nobody in particular
Requestors: polettix [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.08
Fixed in: (no value)



Subject: incorrect generation of arrows for SVG
As the subject line anticipates, the SVG generation is wrong. In particular, arrows are not generated correctly: when the SVG is seen with Firefox they are not visible, when viewed with Inkscape the triangle for the arrow is placed beyond the line (right under the activation rectangle) and vertically displaced. OTOH, the raster generation seems to be fine. I'm attaching the XML (generated from the example on perl.com), the PNG and the wrong SVG. Cheers, Flavio.
Subject: wash.svg
Download wash.svg
image/svg+xml 4.3k
wash.svg
Subject: wash.png
Download wash.png
image/png 2.5k
wash.png
Subject: wash.xml
<?xml version='1.0' ?> <sequence> <class_list> <class name='At Home' born='0' extends-to='12'> <activation_list> <activation born='0' extends-to='12' offset='0' /> </activation_list> </class> <class name='Garage' born='1' extends-to='12'> <activation_list> <activation born='1' extends-to='1' offset='0' /> <activation born='5' extends-to='5' offset='0' /> <activation born='6' extends-to='6' offset='0' /> <activation born='10' extends-to='10' offset='0' /> <activation born='11' extends-to='11' offset='0' /> <activation born='12' extends-to='12' offset='0' /> </activation_list> </class> <class name='Kitchen' born='2' extends-to='4'> <activation_list> <activation born='2' extends-to='4' offset='0' /> <activation born='3' extends-to='3' offset='1' /> <activation born='4' extends-to='4' offset='1' /> </activation_list> </class> <class name='Driveway' born='7' extends-to='9'> <activation_list> <activation born='7' extends-to='7' offset='0' /> <activation born='8' extends-to='8' offset='0' /> <activation born='9' extends-to='9' offset='0' /> </activation_list> </class> </class_list> <arrow_list> <arrow from='At Home' to='Garage' type='call' label='retrieve bucket' from-offset='0' to-offset='0' /> <arrow from='At Home' to='Kitchen' type='call' label='prepare bucket' from-offset='0' to-offset='0' /> <arrow from='Kitchen' to='Kitchen' type='call' label='pour soap in bucket' from-offset='0' to-offset='1' /> <arrow from='Kitchen' to='Kitchen' type='call' label='fill bucket' from-offset='0' to-offset='1' /> <arrow from='At Home' to='Garage' type='call' label='get sponge' from-offset='0' to-offset='0' /> <arrow from='At Home' to='Garage' type='call' label='open door' from-offset='0' to-offset='0' /> <arrow from='At Home' to='Driveway' type='call' label='apply soapy water' from-offset='0' to-offset='0' /> <arrow from='At Home' to='Driveway' type='call' label='rinse' from-offset='0' to-offset='0' /> <arrow from='At Home' to='Driveway' type='call' label='empty bucket' from-offset='0' to-offset='0' /> <arrow from='At Home' to='Garage' type='call' label='close door' from-offset='0' to-offset='0' /> <arrow from='At Home' to='Garage' type='call' label='replace sponge' from-offset='0' to-offset='0' /> <arrow from='At Home' to='Garage' type='call' label='replace bucket' from-offset='0' to-offset='0' /> </arrow_list> </sequence>