sanbales / pymbe

A project to experiment with and validate semantics for KerML and SysML v2
GNU General Public License v3.0
4 stars 1 forks source link

Improve ContainmentTree Ordering of Elements #9

Open sanbales opened 3 years ago

sanbales commented 3 years ago

Instead of using the owner attribute, use the ownedElements and put the nodes in that order when adding them to a parent.

sanbales commented 3 years ago

Looks like not all nodes parents list them under ownedElement, and sometimes the same node is listed under ownedElement for one node and ownedRelatedElement in another.