Skip to content

Commit 06c87dc

Browse files
committed
docs: fix package name references to graphbox
1 parent 359e55e commit 06c87dc

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ GraphBox provides a toolkit for graph manipulation, analysis, and generation, sp
1111

1212
## Overview
1313

14-
Graph-Box consolidates three previously separate BibGraph packages into a single, focused package:
14+
GraphBox consolidates three previously separate BibGraph packages into a single, focused package:
1515

1616
- **graph-core**: Core graph interfaces and adapters
1717
- **graph-expansion**: Graph expansion, traversal algorithms, and neighborhood exploration
@@ -20,7 +20,7 @@ Graph-Box consolidates three previously separate BibGraph packages into a single
2020
## Installation
2121

2222
```bash
23-
pnpm install graph-box
23+
pnpm install graphbox
2424
```
2525

2626
## Key Features
@@ -30,7 +30,7 @@ pnpm install graph-box
3030
`GraphAdapter` provides a bridge between different graph implementations, allowing you to use generic algorithms with your specific graph data structures.
3131

3232
```typescript
33-
import { GraphAdapter } from 'graph-box';
33+
import { GraphAdapter } from 'graphbox';
3434

3535
const adapter = new GraphAdapter(graph);
3636
```
@@ -46,7 +46,7 @@ Multiple traversal algorithms for exploring graph neighborhoods:
4646
- **Priority Queue** - Custom priority-based expansion
4747

4848
```typescript
49-
import { bfs, dfs, extractEgoNetwork } from 'graph-box';
49+
import { bfs, dfs, extractEgoNetwork } from 'graphbox';
5050

5151
const bfsResult = bfs(adapter, 'startNodeId');
5252
const dfsResult = dfs(adapter, 'startNodeId');
@@ -68,7 +68,7 @@ const egoNetwork = extractEgoNetwork(adapter, {
6868
Type-safe graph generation with mathematical constraint validation:
6969

7070
```typescript
71-
import { generateGraph, validateGraph } from 'graph-box';
71+
import { generateGraph, validateGraph } from 'graphbox';
7272

7373
const spec = {
7474
type: 'complete',
@@ -90,7 +90,7 @@ const valid = validateGraph(graph, spec.constraints);
9090
Mathematical constraint validation for graph properties:
9191

9292
```typescript
93-
import { validateGraph, checkConstraints } from 'graph-box';
93+
import { validateGraph, checkConstraints } from 'graphbox';
9494

9595
const isValid = validateGraph(graph, constraints);
9696
```
@@ -100,7 +100,7 @@ const isValid = validateGraph(graph, constraints);
100100
### Basic Traversal
101101

102102
```typescript
103-
import { GraphAdapter, bfs } from 'graph-box';
103+
import { GraphAdapter, bfs } from 'graphbox';
104104

105105
const graph = { /* your graph */ };
106106
const adapter = new GraphAdapter(graph);
@@ -112,7 +112,7 @@ console.log(result.visited); // Array of visited node IDs
112112
### Ego Network Extraction
113113

114114
```typescript
115-
import { extractEgoNetwork } from 'graph-box';
115+
import { extractEgoNetwork } from 'graphbox';
116116

117117
const adapter = new GraphAdapter(graph);
118118

@@ -128,7 +128,7 @@ console.log(egoNetwork);
128128
### Graph Generation
129129

130130
```typescript
131-
import { generateGraph, GraphSpec } from 'graph-box';
131+
import { generateGraph, GraphSpec } from 'graphbox';
132132

133133
const spec: GraphSpec = {
134134
type: 'complete',
@@ -142,7 +142,7 @@ const graph = generateGraph(spec);
142142
### Graph Validation
143143

144144
```typescript
145-
import { validateGraph } from 'graph-box';
145+
import { validateGraph } from 'graphbox';
146146

147147
const graph = { /* graph object */ };
148148
const isValid = validateGraph(graph);

0 commit comments

Comments
 (0)