feat: accept more nullish parameter in various methods by tbouffard · Pull Request #892 · maxGraph/maxGraph

@tbouffard

This prepares the migration of the "Wires" story to TypeScript.

Add a new factory method in `CellMarker` to override the `CellHighlight` instance
Export missing `ConnectionHandlerCellMarker` class

The signature of some methods of the following classes now accepts null and/or undefined because their implementation
already supported it:
  - CellMixin
  - ConnectionHandler
  - EdgeMixin
  - Geometry.setTerminalPoint
  - GraphView.updateFixedTerminalPoint
  - VertexMixin

Improve JSDoc in various locations.

coderabbitai[bot]

@tbouffard

@tbouffard

@tbouffard

@tbouffard tbouffard deleted the feat/accept_undefined_and_null_in_various_places branch

July 30, 2025 08:31