Path id in generated SVG

+2 votes
asked Jan 31, 2018 in Bug by Prashant (300 points)

Consider the below code :-


package level1 <<Layout>>{
class A
package level2 <<Layout>>{
class B
package level3 <<Layout>>{
class C

B -up-> A

When I generate SVG for the above code :

1>  for A-down->B : path id is "A-B"

2> for B -up-> A : also path id is "A-B"

Here  I need to differentiate between paths A to B  and B to A.

Since in the 2nd scenario I am adding arrow from B to A but I still get the same id ="A-B",

due to which I am not able to differentiate between the two arrows using javascript.

Is there a way by which I can identify those arrows uniquely.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.