Skip to content

Commit 392594f

Browse files
committed
refactor(algorithms): update exports for graph-expansion
- Export GraphAdapter from main index - Remove traversal algorithm exports (moved to graph-expansion) - Remove ego-network extraction exports (moved to graph-expansion)
1 parent ece6950 commit 392594f

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

packages/algorithms/src/index.ts

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
// Import from there directly:
77
// import { ... } from '@bibgraph/graph-gen';
88

9+
// Adapter for graph-expansion algorithms
10+
export { GraphAdapter } from "./graph-adapter";
11+
912
// Core analysis algorithms
1013
export * from "./analysis/scc";
1114
export * from "./analysis/connected-components";
@@ -24,7 +27,6 @@ export * from "./decomposition/core-periphery";
2427
export * from "./decomposition/k-core";
2528

2629
// Extraction algorithms
27-
export * from "./extraction/ego-network";
2830
export * from "./extraction/subgraph";
2931
export * from "./extraction/filter";
3032
export * from "./extraction/truss";
@@ -48,11 +50,8 @@ export * from "./pathfinding/dijkstra";
4850
export * from "./pathfinding/mutual-information";
4951
export * from "./pathfinding/path-ranking";
5052

51-
// Traversal algorithms
52-
export * from "./traversal/bfs";
53-
export * from "./traversal/dfs";
54-
export * from "./traversal/priority-queue";
55-
export * from "./traversal/bidirectional-bfs";
53+
// Traversal algorithms moved to @bibgraph/graph-expansion
54+
// Import from: @bibgraph/graph-expansion
5655

5756
// Metrics
5857
export * from "./metrics/cluster-quality";

0 commit comments

Comments
 (0)