Skip to main content
added 269 characters in body
Source Link
Herr Derb
  • 439
  • 1
  • 6
  • 15

I'm working on a sequence diagram for a layered system that has a tree hierarchy. Now I have a process that works itself recursively down the tree. Meaning calling the same function on a child object.

I'm talking about a tree like this:

-layer n
   -layer n-1
       -layer n-2
           -...
       -layer n-2
           -...
   -layer n-1
       -layer n-2
           -...
       -layer n-2
           -...

Its easy to visualize a recursive process in the single object, but I could figure out how I would visualize recursive process that recursively calls itself on a lower layer object and so on. Is this even possible with an UML sequence diagram?

I'm working on a sequence diagram for a layered system that has a tree hierarchy. Now I have a process that works itself recursively down the tree. Meaning calling the same function on a child object.

Its easy to visualize a recursive process in the single object, but I could figure out how I would visualize recursive process that recursively calls itself on a lower layer object and so on. Is this even possible with an UML sequence diagram?

I'm working on a sequence diagram for a layered system that has a tree hierarchy. Now I have a process that works itself recursively down the tree. Meaning calling the same function on a child object.

I'm talking about a tree like this:

-layer n
   -layer n-1
       -layer n-2
           -...
       -layer n-2
           -...
   -layer n-1
       -layer n-2
           -...
       -layer n-2
           -...

Its easy to visualize a recursive process in the single object, but I could figure out how I would visualize recursive process that recursively calls itself on a lower layer object and so on. Is this even possible with an UML sequence diagram?

Source Link
Herr Derb
  • 439
  • 1
  • 6
  • 15

How do I represent a recursive process down a tree in a sequence diagramm?

I'm working on a sequence diagram for a layered system that has a tree hierarchy. Now I have a process that works itself recursively down the tree. Meaning calling the same function on a child object.

Its easy to visualize a recursive process in the single object, but I could figure out how I would visualize recursive process that recursively calls itself on a lower layer object and so on. Is this even possible with an UML sequence diagram?