refactor: ensure mixins do not create shared properties in AbstractGraph by tbouffard · Pull Request #879 · maxGraph/maxGraph
tbouffard
changed the title
refactor: move multiplicities from AbstractGraph to ValidationMixin
refactor: ensure mixins do not create shared properties in AbstractGraph
The current implementation of the function applying mixins creates shared state for "object" or "array" properties. For such properties, ensure they are all defined in AbstractGraph and add tests to validate that there is no global states. Here, this includes a fix for 'alternateEdgeStyle' which is no longer a global state. In some mixin type files, remove properties that are already defined in AbstractGraph.
tbouffard
deleted the
refactor/move_mulitiplicities_from_AbstractGraph_to_mixin
branch
This file contains hidden or 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