mattrasto / phase

Network visualization framework for complex systems and simulations
MIT License
9 stars 1 forks source link

Properly destroy groups contained within phases #80

Closed mattrasto closed 5 years ago

mattrasto commented 5 years ago

The destroy() function inside of the Group class only removes the reference to the group in the Network class (accessed via this.network.nodeGroups and this.network.linkGroups). If a group is attached to a Phase object, it will not be properly destroyed. We should also check the group's associated phase's this.nodeGroups and this.linkGroups attributes.

mattrasto commented 5 years ago

Implemented in f06107c3242c793c05d9d639f8e43bb0e772f019