Open suhyunjeon opened 9 years ago
If I understand you correctly, I think you just need to flip your arrows.
Instead of C<-B, write B->C.
Hello @bramp. Thank you for your reply. It is same to result. I changed source code from sequence-diagram-min.js.
Diagram.prototype.getActor = function(alias, name) {
alias = alias.replace("<", "");
alias = alias.trim();
It solved problem.
Would you show me the resulting image with your change. I would like to understand what you were trying to achieve.
Thanks
OK.
//////////////// Before ////////////////
//////////////// After ////////////////
Hey @suhyunjeon that 2nd diagram doesn't look quite right. The 180 Ringing arrow is going in the wrong direction, acording to your text.
Either way, I think you just need to rework your text to always have arrows pointing right. For example:
192.168.12.154->192.168.13.223: INVITE SDP
192.168.13.223->192.168.13.224: INVITE SDP
192.168.13.223->192.168.13.224: 180 Ringing
192.168.13.224->192.168.13.223: 180 Ringing
192.168.12.154->192.168.13.223: 180 Ringing
192.168.12.42->192.168.13.223: 200 OK
192.168.13.223->192.168.13.224: 200 OK
192.168.13.224->192.168.13.223: 200 OK
makes:
which has arrows going both left and right in the image.
I was upload wrong result pic. It it right yours. Anyway it need to modify code( sequence-diagram-min.js) what I want to do.
Can I use duplicate note name? I want to connect links each note like A->B, B->C, C<-B. They recognized that unique notes. 'C', 'C<', 'B', 'B<'. It is same. They changed note names.