Host vs. parent

Hi, can you explain the diff between parent and host attrs in ShapeImpl ?
What’s the use case of each ?
Thanks a lot.

Simple answer:

  • parent is a containment relationship (parent <-> child)
  • host is an attachment relationship (attachers <-> host)

In BPMN boundary events are attached, while child elements inside of sub-processes are contained within a parent. Both move with the parent (or host), hence there is some similarity.

image

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.