Version Packages - #27
Merged
Merged
Conversation
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
June 12, 2026 01:41
9e9296e to
e1320d2
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
2 times, most recently
from
July 28, 2026 19:02
4d37938 to
1987885
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
August 15, 2026 15:33
1987885 to
04ec6d0
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
August 15, 2026 15:49
04ec6d0 to
667924e
Compare
github-actions
Bot
force-pushed
the
changeset-release/main
branch
from
August 17, 2026 11:07
1dd9781 to
b1ab016
Compare
This 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@statelyai/graph@2.2.0
Minor Changes
#32
3baa78cThanks @davidkpiano! - Add lazy, multi-source, directional, radius-limited postorder traversal. Keepactive traversal structure stable across graph mutations and reject non-finite
A-star heuristic values.
e4a800eThanks @davidkpiano! - Add immutable counterparts for graph CRUD, patch application, and layout geometry updates. These helpers return updated graph copies while leaving their input graphs untouched.7b5ac38Thanks @davidkpiano! - Add graph-generic path-set and coverage utilities: path inspection andcontainment, coverage targets and coverage-preserving reduction, edge-covering
path planning, ordered shortest simple paths, Eulerian paths/circuits, and line
graph construction.
#31
0bd1016Thanks @davidkpiano! - Add multi-source, directional, radius-limited BFS and DFS; induced neighborhood subgraphs; and graph union, intersection, difference, symmetric difference, disjoint union, and complement operations.97622b1Thanks @davidkpiano! - New algorithms, public kernel, cancellation, and format fidelity:isPlanar(left-right planarity test),getTSPTour(nearest-neighbor + 2-opt),
getSteinerTree(metric-closure2-approximation),
getGraphColoring/isValidColoring(Welsh–Powell andDSatur),
genAllPairsShortestPaths(lazy gen twin ofgetAllPairsShortestPaths).createWattsStrogatzGraph,createBarabasiAlbertGraph.@statelyai/graph/kernelsubpath:getIndex,getCSR,invalidateIndex, andmemoizeByGraph— the fast-path primitives forlarge graphs and third-party algorithm plugins.
max-flow, all-pairs paths, isomorphism, dominators) accept
options.signal: AbortSignal.defaults,
rank=same, HTML labels, and compass points; Mermaid preserves%%{init}%%directives, click handlers, linkStyle (now index-stable),state notes, mindmap
::icon(), and block arrow tokens.getAllPairsShortestPathsno longer overflows the call stack ongraphs with a few hundred nodes.
pnpm bench:compare(--quickvariant,JSON results, generated docs tables, fairness notes).
#33
66b3828Thanks @davidkpiano! - AddgetMappedGraph()andgetFilteredGraph()structural transforms.getMappedGraph()returns a new graph with node/edgedatatransformed by mapping functions while preserving all structure;getFilteredGraph()returns a new graph keeping only nodes and edges that pass the given predicates, dropping incident edges of removed nodes.getSubgraph(),getReversedGraph(), and the new transforms now also preserve graph-leveldirectionandstyle.