fix: consider `ManhattanConnector` as orthogonal by tbouffard · Pull Request #707 · maxGraph/maxGraph

@tbouffard

Currently, the implementation of a connector must be explicitly referenced in the code to decide whether it is considered orthogonal.
This is not configurable.
So, when a new connector is added, its reference must be added. This was not done when `ManhattanConnector` was introduced.

ManhattanConnector is now referenced in `Graph.isOrthogonal` and `Graph.createEdgeHandler`.
tests have been added to validate the correction and a refactoring of the implementation to simplify it.

@tbouffard added the bug

Something isn't working

label

Mar 4, 2025

@tbouffard tbouffard marked this pull request as ready for review

March 5, 2025 05:56

coderabbitai[bot]

@tbouffard tbouffard deleted the fix/ManhattanConnector_considered_as_orthogonal branch

March 5, 2025 06:54

This was referenced

May 2, 2025