refactor: ensure mixins do not create shared properties in AbstractGraph by tbouffard · Pull Request #879 · maxGraph/maxGraph

coderabbitai[bot]

@tbouffard tbouffard changed the title refactor: move multiplicities from AbstractGraph to ValidationMixin refactor: ensure mixins do not create shared properties in AbstractGraph

Jul 23, 2025

tbouffard

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

@tbouffard

coderabbitai[bot]

@tbouffard

@tbouffard tbouffard deleted the refactor/move_mulitiplicities_from_AbstractGraph_to_mixin branch

September 18, 2025 12:35