feat!: introduce global config for the Manhattan connector by tbouffard · Pull Request #681 · maxGraph/maxGraph
Introduce a dedicated `ManhattanConnectorConfig` global object and its companion reset function. BREAKING CHANGES: `ManhattanConnector` is now configured with the global `ManhattanConnectorConfig` object. The following properties that were previously on `EdgeStyle` have moved to `ManhattanConnectorConfig`: - `MANHATTAN_END_DIRECTIONS` to `endDirections` - `MANHATTAN_MAX_ALLOWED_DIRECTION_CHANGE` to `maxAllowedDirectionChange` - `MANHATTAN_MAXIMUM_LOOPS` to `maxLoops` - `MANHATTAN_START_DIRECTIONS` to `startDirections` - `MANHATTAN_STEP` to `step`
tbouffard
deleted the
feat/introduce_ManhattanConnectorConfig
branch
This was referenced
Feb 18, 2025This 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