Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[956] Change the way the child is added to its parent in convertDiagram
A child is now added with the add method instead of parent.children=xxx. It allows to properly set SParentElement.parent property. Each child adds itself to its parent as soon as created to make sure that its own children will be added in a graph containing a root element. Bug: #956 Signed-off-by: Laurent Fasani <laurent.fasani@obeo.fr>
- Loading branch information
Showing
1 changed file
with
28 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters