Skip to content

react-html-graph: v1.2.3

Choose a tag to compare

@github-actions github-actions released this 11 Apr 12:35
1309f25

1.2.3 (2026-04-11)

⚠ BREAKING CHANGES

  • add a stable graph API hook with node type and link template registries
  • add graph, node and link context/providers for event bus, registry lookup and link info access
  • extract node drag handling into move behaviour and expose node/local event emitters
  • refactor link rendering to delegate visual output to templates and export BidirectionalPath
  • update ports, connection flow and shared types to use connectionType and graph-driven drag callbacks
  • Graph now consumes an api prop created by useGraphApi instead of exposing the imperative API through ref.
  • Node definitions now require nodeType registration, link rendering is template-driven, and several public interfaces rename type to connectionType.
  • add custom link rendering and graph event registries

Features

  • add a stable graph API hook with node type and link template registries (69b5c1b)
  • add custom link rendering and graph event registries (69b5c1b)
  • add graph, node and link context/providers for event bus, registry lookup and link info access (69b5c1b)
  • add serialize/deserialize capability (17e6109)

Bug Fixes

  • fix path direction for ports with coordinates (473b83f)
  • fix TempLink not showing when connecting nodes. (0b2e92f)
  • Fix tree layout (cce0bca)
  • layout issues and graph returning to original position when moving (510a885)

Code Refactoring

  • extract node drag handling into move behaviour and expose node/local event emitters (69b5c1b)
  • Graph now consumes an api prop created by useGraphApi instead of exposing the imperative API through ref. (69b5c1b)
  • Node definitions now require nodeType registration, link rendering is template-driven, and several public interfaces rename type to connectionType. (69b5c1b)
  • refactor link rendering to delegate visual output to templates and export BidirectionalPath (69b5c1b)
  • update ports, connection flow and shared types to use connectionType and graph-driven drag callbacks (69b5c1b)

Provenance attestations