blockdiag / seqdiag

Apache License 2.0
66 stars 14 forks source link

life-line confusion. #1

Open tk0miya opened 6 years ago

tk0miya commented 6 years ago

{ A -> C; B -> C; A <-- C; B <-- C; }

http://goo.gl/Fz2OJ generate confused life-line sequence image.


tk0miya commented 6 years ago

From Radek Marik on 2014-04-02 08:02:40+00:00

The issue should be treated more general. The current implementation seems to follow a kind of 'stack-based' assignments of method calls and returns. I have not found any way how to specify what instance activation a given method call should be linked to. GraphViz uses a notion of ports. What about to extend the syntax in similar way, i.e. to enable a use of activity labels extending instance labels? For example: { A -> C:0; B -> C:1; A <-- C:0; B <-- C:1; } For example, this would enable to diagram a number of threads under one instance (like HTTP pipelining, etc in my case :-)).