Incorrect fragments generation - multithread
Brought to you by:
sdedit
I think that fragments are not generated well when multithreading is enabled (see screenshot).
Code to generate the diagram from is:
user:Actor
a:A
b:B
c:C
[c]
user:a.f1()
a:b.f11()
[/c]
[c]
user:a.f2()
a:b.f22()
b:c.f222()
[/c]
It is the same for 3.1 and 4.0-RC1
View and moderate all "bugs Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Bugs"
Sorry, there is something conceptually wrong with the fragments. The sdedit pseudo "language" is line-oriented, but fragments are block-oriented.
Think of fragments as an "experimental" feature. I do not even know if it is possible to describe/specify how fragments should be rendered when multiple threads are involved. Have a try. (Not saying that fragments are always correctly rendered in single-threaded mode.)
If sdedit was based on a proper, maybe curly-bracket, context-free language, fragments would probably fit in much better. But how would you handle multithreading then, I guess one would need multiple editors, one for each thread. And would a fragment then be related to just one thread or to m out of n threads?