Skip to content

Commit 1130cd4

Browse files
authored
Merge pull request #11 from codemix/improvements
Update README
2 parents 285acbb + 83a2baf commit 1130cd4

File tree

5 files changed

+31
-6
lines changed

5 files changed

+31
-6
lines changed

.changeset/cuddly-emus-juggle.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@codemix/graph": minor
3+
---
4+
5+
Add `TraversalPath.nodes()`, `relationships()`, `length()`, and `sum()` to make path post-processing easier, and support `ORDER BY` expressions that reference projected aliases before `RETURN` and `WITH`.

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
11
<p align="center">
2-
<img src="./codemix-logo.png" alt="codemix" width="240" />
2+
<a href="https://codemix.com/">
3+
<img src="./codemix-logo.png" alt="codemix" width="240" />
4+
</a>
35
</p>
46

57
# @codemix/graph
68

7-
A fully type-safe, TypeScript-first in-memory property graph database with a Cypher query language parser, a **type-safe [TinkerPop](https://tinkerpop.apache.org/) / [Gremlin](https://tinkerpop.apache.org/docs/current/reference/#gremlin)-style traversal API** (`GraphTraversal`), multiple index types, and pluggable storage adapters including a [Yjs](https://yjs.dev/) CRDT-based adapter for collaborative/realtime/offline-first use.
9+
A fully type-safe, TypeScript-first in-memory property graph database with a Cypher-like query language, a **type-safe [TinkerPop](https://tinkerpop.apache.org/) / [Gremlin](https://tinkerpop.apache.org/docs/current/reference/#gremlin)-style traversal API** (`GraphTraversal`), multiple index types, and pluggable storage adapters including a [Yjs](https://yjs.dev/) CRDT-based adapter for collaborative/realtime/offline-first use.
810

911
This is the knowledge graph database for the [codemix](https://codemix.com/) product intelligence platform.
1012

packages/graph/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# @codemix/graph
22

3-
A fully type-safe, TypeScript-first in-memory property graph database with a Cypher-compatible query language, a **type-safe [Apache TinkerPop](https://tinkerpop.apache.org/) / [Gremlin](https://tinkerpop.apache.org/docs/current/reference/#gremlin)-style traversal API** (`GraphTraversal`), lazy indexes, and async transport support.
3+
A fully type-safe, TypeScript-first in-memory property graph database with a (mostly) Cypher-compatible query language, a **type-safe [Apache TinkerPop](https://tinkerpop.apache.org/) / [Gremlin](https://tinkerpop.apache.org/docs/current/reference/#gremlin)-style traversal API** (`GraphTraversal`), lazy indexes, and async transport support.
4+
5+
Part of the [codemix product intelligence platform](https://codemix.com/).
46

57
## Table of Contents
68

packages/text-search/README.md

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
Fast, accurate text search with BM25-inspired scoring, English stemming, and phrase-aware ranking. Zero dependencies.
44

5+
Part of the [codemix product intelligence platform](https://codemix.com/).
6+
57
## Features
68

79
- **BM25-inspired scoring** — term frequency saturation and document length normalization
@@ -108,8 +110,16 @@ interface Article {
108110
}
109111

110112
const articles: Article[] = [
111-
{ slug: "intro-react", title: "Introduction to React", content: "Learn React basics" },
112-
{ slug: "vue-guide", title: "Vue.js Guide", content: "Getting started with Vue" },
113+
{
114+
slug: "intro-react",
115+
title: "Introduction to React",
116+
content: "Learn React basics",
117+
},
118+
{
119+
slug: "vue-guide",
120+
title: "Vue.js Guide",
121+
content: "Getting started with Vue",
122+
},
113123
];
114124

115125
const results = rankDocuments(
@@ -315,7 +325,11 @@ faq.filter((q) => match(q) > 0.3);
315325
```typescript
316326
const users = [
317327
{ id: 1, name: "John Doe", bio: "Software engineer at TechCorp" },
318-
{ id: 2, name: "Jane Smith", bio: "Product manager with engineering background" },
328+
{
329+
id: 2,
330+
name: "Jane Smith",
331+
bio: "Product manager with engineering background",
332+
},
319333
{ id: 3, name: "Bob Wilson", bio: "Marketing specialist" },
320334
];
321335

packages/y-graph-storage/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
A [Yjs](https://yjs.dev) storage adapter for `@codemix/graph` that persists the graph inside a `Y.Doc`, enabling real-time collaborative graph editing, CRDT-based conflict resolution, live reactive queries, and support for rich Yjs shared types (`Y.Text`, `Y.Array`, `Y.Map`) as property values.
44

5+
Part of the [codemix product intelligence platform](https://codemix.com/).
6+
57
## Table of Contents
68

79
- [Features](#features)

0 commit comments

Comments
 (0)