Merge pull request #1176 from galshubeli/falkordb-backend
feat: add FalkorDB export backend (#1175)
This commit is contained in:
@@ -80,6 +80,7 @@ Full release notes with details on each version: [GitHub Releases](https://githu
|
|||||||
|
|
||||||
## 0.8.33 (2026-06-06)
|
## 0.8.33 (2026-06-06)
|
||||||
|
|
||||||
|
- Feat: FalkorDB export backend — sibling to Neo4j, selected via `graphify export falkordb [--push falkordb://localhost:6379]`. FalkorDB is OpenCypher-compatible, so the MERGE/SET upsert queries match the Neo4j path; auth is optional and the target graph defaults to `graphify`. Install with `uv tool install "graphifyy[falkordb]"` (#1175).
|
||||||
- Feat: install banner — `graphify install` now prints an amber knowledge-graph brain in the terminal (TTY-only, silent in CI/pipes, never raises).
|
- Feat: install banner — `graphify install` now prints an amber knowledge-graph brain in the terminal (TTY-only, silent in CI/pipes, never raises).
|
||||||
- Fix: Python `from pkg import submod` package-form imports now resolve to a file-level `imports_from` edge to the submodule file when it exists on disk. Previously these imports produced zero edges, leaving test files as disconnected islands in the graph (up to 66% of test nodes in some corpora). The fix lives in the symbol-resolution post-pass which has filesystem access (#1146).
|
- Fix: Python `from pkg import submod` package-form imports now resolve to a file-level `imports_from` edge to the submodule file when it exists on disk. Previously these imports produced zero edges, leaving test files as disconnected islands in the graph (up to 66% of test nodes in some corpora). The fix lives in the symbol-resolution post-pass which has filesystem access (#1146).
|
||||||
- Fix: builtin type-annotation nodes (`str`, `int`, `bool`, `float`, `bytes`, `MagicMock`, `Mock`, `AsyncMock`, etc.) no longer appear as graph nodes or accumulate edges. They were being created via the annotation walker whenever used as parameter or return types, inflating degree counts ~25% and displacing real abstractions from god-node rankings. A new `_PYTHON_ANNOTATION_NOISE` filter suppresses them at extraction time; `god_nodes` also filters them as a defense for pre-existing graphs (#1147).
|
- Fix: builtin type-annotation nodes (`str`, `int`, `bool`, `float`, `bytes`, `MagicMock`, `Mock`, `AsyncMock`, etc.) no longer appear as graph nodes or accumulate edges. They were being created via the annotation walker whenever used as parameter or return types, inflating degree counts ~25% and displacing real abstractions from god-node rankings. A new `_PYTHON_ANNOTATION_NOISE` filter suppresses them at extraction time; `god_nodes` also filters them as a defense for pre-existing graphs (#1147).
|
||||||
|
|||||||
@@ -164,6 +164,7 @@ Install only what you need:
|
|||||||
| `video` | Video/audio transcription (faster-whisper + yt-dlp) | `uv tool install "graphifyy[video]"` |
|
| `video` | Video/audio transcription (faster-whisper + yt-dlp) | `uv tool install "graphifyy[video]"` |
|
||||||
| `mcp` | MCP stdio server | `uv tool install "graphifyy[mcp]"` |
|
| `mcp` | MCP stdio server | `uv tool install "graphifyy[mcp]"` |
|
||||||
| `neo4j` | Neo4j push support | `uv tool install "graphifyy[neo4j]"` |
|
| `neo4j` | Neo4j push support | `uv tool install "graphifyy[neo4j]"` |
|
||||||
|
| `falkordb` | FalkorDB push support | `uv tool install "graphifyy[falkordb]"` |
|
||||||
| `svg` | SVG graph export | `uv tool install "graphifyy[svg]"` |
|
| `svg` | SVG graph export | `uv tool install "graphifyy[svg]"` |
|
||||||
| `leiden` | Leiden community detection (Python < 3.13 only) | `uv tool install "graphifyy[leiden]"` |
|
| `leiden` | Leiden community detection (Python < 3.13 only) | `uv tool install "graphifyy[leiden]"` |
|
||||||
| `ollama` | Ollama local inference | `uv tool install "graphifyy[ollama]"` |
|
| `ollama` | Ollama local inference | `uv tool install "graphifyy[ollama]"` |
|
||||||
@@ -505,6 +506,8 @@ graphify install # overwrites the skill file
|
|||||||
/graphify ./raw --graphml # export for Gephi / yEd
|
/graphify ./raw --graphml # export for Gephi / yEd
|
||||||
/graphify ./raw --neo4j # generate cypher.txt for Neo4j
|
/graphify ./raw --neo4j # generate cypher.txt for Neo4j
|
||||||
/graphify ./raw --neo4j-push bolt://localhost:7687
|
/graphify ./raw --neo4j-push bolt://localhost:7687
|
||||||
|
/graphify ./raw --falkordb # generate cypher.txt for FalkorDB
|
||||||
|
/graphify ./raw --falkordb-push falkordb://localhost:6379
|
||||||
/graphify ./raw --watch # auto-sync as files change
|
/graphify ./raw --watch # auto-sync as files change
|
||||||
/graphify ./raw --mcp # start MCP stdio server
|
/graphify ./raw --mcp # start MCP stdio server
|
||||||
|
|
||||||
|
|||||||
+36
-14
@@ -3549,7 +3549,7 @@ def main() -> None:
|
|||||||
|
|
||||||
elif cmd == "export":
|
elif cmd == "export":
|
||||||
subcmd = sys.argv[2] if len(sys.argv) > 2 else ""
|
subcmd = sys.argv[2] if len(sys.argv) > 2 else ""
|
||||||
if subcmd not in ("html", "callflow-html", "obsidian", "wiki", "svg", "graphml", "neo4j"):
|
if subcmd not in ("html", "callflow-html", "obsidian", "wiki", "svg", "graphml", "neo4j", "falkordb"):
|
||||||
print("Usage: graphify export <format>", file=sys.stderr)
|
print("Usage: graphify export <format>", file=sys.stderr)
|
||||||
print(" html [--graph PATH] [--labels PATH] [--node-limit N] [--no-viz]", file=sys.stderr)
|
print(" html [--graph PATH] [--labels PATH] [--node-limit N] [--no-viz]", file=sys.stderr)
|
||||||
print(" callflow-html [GRAPH|DIR] [--graph PATH] [--labels PATH] [--report PATH] [--sections PATH] [--output HTML]", file=sys.stderr)
|
print(" callflow-html [GRAPH|DIR] [--graph PATH] [--labels PATH] [--report PATH] [--sections PATH] [--output HTML]", file=sys.stderr)
|
||||||
@@ -3560,6 +3560,8 @@ def main() -> None:
|
|||||||
print(" graphml [--graph PATH]", file=sys.stderr)
|
print(" graphml [--graph PATH]", file=sys.stderr)
|
||||||
print(" neo4j [--graph PATH] [--push URI] [--user U] [--password P]", file=sys.stderr)
|
print(" neo4j [--graph PATH] [--push URI] [--user U] [--password P]", file=sys.stderr)
|
||||||
print(" (or set NEO4J_PASSWORD instead of --password to keep it off argv)", file=sys.stderr)
|
print(" (or set NEO4J_PASSWORD instead of --password to keep it off argv)", file=sys.stderr)
|
||||||
|
print(" falkordb [--graph PATH] [--push URI] [--user U] [--password P]", file=sys.stderr)
|
||||||
|
print(" (or set FALKORDB_PASSWORD instead of --password to keep it off argv)", file=sys.stderr)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
|
|
||||||
# Parse shared args
|
# Parse shared args
|
||||||
@@ -3581,12 +3583,18 @@ def main() -> None:
|
|||||||
node_limit = 5000
|
node_limit = 5000
|
||||||
no_viz = False
|
no_viz = False
|
||||||
obsidian_dir = Path(_GRAPHIFY_OUT) / "obsidian"
|
obsidian_dir = Path(_GRAPHIFY_OUT) / "obsidian"
|
||||||
neo4j_uri: str | None = None
|
# Shared push-connection settings for the graph-database sinks (neo4j,
|
||||||
neo4j_user = "neo4j"
|
# falkordb), parsed from the generic --push/--user/--password flags below.
|
||||||
# F-031: prefer the NEO4J_PASSWORD env var so the password never
|
push_uri: str | None = None
|
||||||
# appears on argv (visible in `ps` output / shell history). The
|
push_user = "neo4j" # Neo4j default user; FalkorDB auth is optional and ignores it
|
||||||
# explicit --password flag still overrides it for compatibility.
|
# F-031: prefer an env var so the password never appears on argv (visible
|
||||||
neo4j_password: str | None = os.environ.get("NEO4J_PASSWORD") or None
|
# in `ps` output / shell history). The explicit --password flag still
|
||||||
|
# overrides it. Each sink reads its own var: FALKORDB_PASSWORD for falkordb,
|
||||||
|
# NEO4J_PASSWORD otherwise.
|
||||||
|
push_password: str | None = (
|
||||||
|
os.environ.get("FALKORDB_PASSWORD") if subcmd == "falkordb"
|
||||||
|
else os.environ.get("NEO4J_PASSWORD")
|
||||||
|
) or None
|
||||||
i = 0
|
i = 0
|
||||||
while i < len(args):
|
while i < len(args):
|
||||||
a = args[i]
|
a = args[i]
|
||||||
@@ -3637,11 +3645,11 @@ def main() -> None:
|
|||||||
elif a == "--dir" and i + 1 < len(args):
|
elif a == "--dir" and i + 1 < len(args):
|
||||||
obsidian_dir = Path(args[i + 1]); i += 2
|
obsidian_dir = Path(args[i + 1]); i += 2
|
||||||
elif a == "--push" and i + 1 < len(args):
|
elif a == "--push" and i + 1 < len(args):
|
||||||
neo4j_uri = args[i + 1]; i += 2
|
push_uri = args[i + 1]; i += 2
|
||||||
elif a == "--user" and i + 1 < len(args):
|
elif a == "--user" and i + 1 < len(args):
|
||||||
neo4j_user = args[i + 1]; i += 2
|
push_user = args[i + 1]; i += 2
|
||||||
elif a == "--password" and i + 1 < len(args):
|
elif a == "--password" and i + 1 < len(args):
|
||||||
neo4j_password = args[i + 1]; i += 2
|
push_password = args[i + 1]; i += 2
|
||||||
elif subcmd == "callflow-html" and not a.startswith("-") and not graph_path_explicit:
|
elif subcmd == "callflow-html" and not a.startswith("-") and not graph_path_explicit:
|
||||||
candidate = Path(a)
|
candidate = Path(a)
|
||||||
if candidate.name == "graph.json" or candidate.suffix.lower() == ".json":
|
if candidate.name == "graph.json" or candidate.suffix.lower() == ".json":
|
||||||
@@ -3819,19 +3827,33 @@ def main() -> None:
|
|||||||
print(f"graph.graphml written - open in Gephi, yEd, or any GraphML tool")
|
print(f"graph.graphml written - open in Gephi, yEd, or any GraphML tool")
|
||||||
|
|
||||||
elif subcmd == "neo4j":
|
elif subcmd == "neo4j":
|
||||||
if neo4j_uri:
|
if push_uri:
|
||||||
from graphify.export import push_to_neo4j as _push
|
from graphify.export import push_to_neo4j as _push
|
||||||
if neo4j_password is None:
|
if push_password is None:
|
||||||
print("error: --password required for --push", file=sys.stderr)
|
print("error: --password required for --push", file=sys.stderr)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
result = _push(G, uri=neo4j_uri, user=neo4j_user,
|
result = _push(G, uri=push_uri, user=push_user,
|
||||||
password=neo4j_password, communities=communities)
|
password=push_password, communities=communities)
|
||||||
print(f"Pushed to Neo4j: {result['nodes']} nodes, {result['edges']} edges")
|
print(f"Pushed to Neo4j: {result['nodes']} nodes, {result['edges']} edges")
|
||||||
else:
|
else:
|
||||||
from graphify.export import to_cypher as _to_cypher
|
from graphify.export import to_cypher as _to_cypher
|
||||||
_to_cypher(G, str(out_dir / "cypher.txt"))
|
_to_cypher(G, str(out_dir / "cypher.txt"))
|
||||||
print(f"cypher.txt written - import with: cypher-shell < {out_dir}/cypher.txt")
|
print(f"cypher.txt written - import with: cypher-shell < {out_dir}/cypher.txt")
|
||||||
|
|
||||||
|
elif subcmd == "falkordb":
|
||||||
|
if push_uri:
|
||||||
|
from graphify.export import push_to_falkordb as _push
|
||||||
|
result = _push(G, uri=push_uri, user=push_user,
|
||||||
|
password=push_password, communities=communities)
|
||||||
|
print(f"Pushed to FalkorDB: {result['nodes']} nodes, {result['edges']} edges")
|
||||||
|
else:
|
||||||
|
from graphify.export import to_cypher as _to_cypher
|
||||||
|
_to_cypher(G, str(out_dir / "cypher.txt"))
|
||||||
|
print(f"cypher.txt written ({out_dir}/cypher.txt) - statements are OpenCypher. "
|
||||||
|
f"FalkorDB's GRAPH.QUERY runs one statement at a time (no bulk script "
|
||||||
|
f"import), so load a graph with: graphify export falkordb --push "
|
||||||
|
f"falkordb://localhost:6379")
|
||||||
|
|
||||||
elif cmd == "benchmark":
|
elif cmd == "benchmark":
|
||||||
from graphify.benchmark import run_benchmark, print_benchmark
|
from graphify.benchmark import run_benchmark, print_benchmark
|
||||||
|
|
||||||
|
|||||||
@@ -1320,6 +1320,102 @@ def push_to_neo4j(
|
|||||||
return {"nodes": nodes_pushed, "edges": edges_pushed}
|
return {"nodes": nodes_pushed, "edges": edges_pushed}
|
||||||
|
|
||||||
|
|
||||||
|
def push_to_falkordb(
|
||||||
|
G: nx.Graph,
|
||||||
|
uri: str,
|
||||||
|
user: str | None = None,
|
||||||
|
password: str | None = None,
|
||||||
|
communities: dict[int, list[str]] | None = None,
|
||||||
|
graph_name: str = "graphify",
|
||||||
|
) -> dict[str, int]:
|
||||||
|
"""Push graph directly to a running FalkorDB instance via the Python SDK.
|
||||||
|
|
||||||
|
Requires: pip install falkordb
|
||||||
|
|
||||||
|
FalkorDB is OpenCypher-compatible, so the MERGE/SET upsert queries are
|
||||||
|
identical to push_to_neo4j. Differences from the Neo4j path:
|
||||||
|
- connects with FalkorDB(host, port, username, password) instead of a bolt
|
||||||
|
driver; only the host/port are read from the URI, so the scheme is
|
||||||
|
informational - "falkordb://localhost:6379", "redis://localhost:6379"
|
||||||
|
and a bare "localhost:6379" are all equivalent (default port 6379).
|
||||||
|
- a named graph is selected via db.select_graph(graph_name) (default
|
||||||
|
"graphify"); FalkorDB keys each graph by name in the same instance.
|
||||||
|
- queries run via graph.query(cypher, params) - there is no session object.
|
||||||
|
- auth is optional (FalkorDB runs without credentials by default), so user
|
||||||
|
and password may be None.
|
||||||
|
- no APOC: the Neo4j path does not use APOC either, so nothing to port.
|
||||||
|
|
||||||
|
Uses MERGE so re-running is safe - nodes and edges are upserted, not
|
||||||
|
duplicated. Returns a dict with counts of nodes and edges pushed.
|
||||||
|
"""
|
||||||
|
try:
|
||||||
|
from falkordb import FalkorDB
|
||||||
|
except ImportError as e:
|
||||||
|
raise ImportError(
|
||||||
|
"falkordb SDK not installed. Run: pip install falkordb"
|
||||||
|
) from e
|
||||||
|
|
||||||
|
from urllib.parse import urlparse
|
||||||
|
|
||||||
|
node_community = _node_community_map(communities) if communities else {}
|
||||||
|
|
||||||
|
def _safe_rel(relation: str) -> str:
|
||||||
|
return re.sub(r"[^A-Z0-9_]", "_", relation.upper().replace(" ", "_").replace("-", "_")) or "RELATED_TO"
|
||||||
|
|
||||||
|
def _safe_label(label: str) -> str:
|
||||||
|
"""Sanitize a FalkorDB node label to prevent Cypher injection."""
|
||||||
|
sanitized = re.sub(r"[^A-Za-z0-9_]", "", label)
|
||||||
|
return sanitized if sanitized else "Entity"
|
||||||
|
|
||||||
|
parsed = urlparse(uri if "://" in uri else f"redis://{uri}")
|
||||||
|
# FalkorDB auth is optional. Only send credentials when a password is
|
||||||
|
# provided; otherwise connect anonymously and ignore any bolt-style default
|
||||||
|
# username (e.g. Neo4j's "neo4j"), which FalkorDB rejects as an unknown ACL
|
||||||
|
# user. Credentials embedded in the URI take precedence over the args.
|
||||||
|
connect_user = parsed.username or (user if password else None)
|
||||||
|
connect_password = parsed.password or (password or None)
|
||||||
|
db = FalkorDB(
|
||||||
|
host=parsed.hostname or "localhost",
|
||||||
|
port=parsed.port or 6379,
|
||||||
|
username=connect_user,
|
||||||
|
password=connect_password,
|
||||||
|
)
|
||||||
|
graph = db.select_graph(graph_name)
|
||||||
|
nodes_pushed = 0
|
||||||
|
edges_pushed = 0
|
||||||
|
|
||||||
|
for node_id, data in G.nodes(data=True):
|
||||||
|
props = {
|
||||||
|
k: v for k, v in data.items()
|
||||||
|
if isinstance(v, (str, int, float, bool)) and not k.startswith("_")
|
||||||
|
}
|
||||||
|
props["id"] = node_id
|
||||||
|
cid = node_community.get(node_id)
|
||||||
|
if cid is not None:
|
||||||
|
props["community"] = cid
|
||||||
|
ftype = _safe_label(data.get("file_type", "Entity").capitalize())
|
||||||
|
graph.query(
|
||||||
|
f"MERGE (n:{ftype} {{id: $id}}) SET n += $props",
|
||||||
|
{"id": node_id, "props": props},
|
||||||
|
)
|
||||||
|
nodes_pushed += 1
|
||||||
|
|
||||||
|
for u, v, data in G.edges(data=True):
|
||||||
|
rel = _safe_rel(data.get("relation", "RELATED_TO"))
|
||||||
|
props = {
|
||||||
|
k: v for k, v in data.items()
|
||||||
|
if isinstance(v, (str, int, float, bool)) and not k.startswith("_")
|
||||||
|
}
|
||||||
|
graph.query(
|
||||||
|
f"MATCH (a {{id: $src}}), (b {{id: $tgt}}) "
|
||||||
|
f"MERGE (a)-[r:{rel}]->(b) SET r += $props",
|
||||||
|
{"src": u, "tgt": v, "props": props},
|
||||||
|
)
|
||||||
|
edges_pushed += 1
|
||||||
|
|
||||||
|
return {"nodes": nodes_pushed, "edges": edges_pushed}
|
||||||
|
|
||||||
|
|
||||||
def to_graphml(
|
def to_graphml(
|
||||||
G: nx.Graph,
|
G: nx.Graph,
|
||||||
communities: dict[int, list[str]],
|
communities: dict[int, list[str]],
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ Turn any folder of files into a navigable knowledge graph with community detecti
|
|||||||
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
||||||
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
||||||
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
||||||
|
/graphify <path> --falkordb # generate graphify-out/cypher.txt for FalkorDB
|
||||||
|
/graphify <path> --falkordb-push falkordb://localhost:6379 # push directly to FalkorDB
|
||||||
/graphify <path> --mcp # start MCP stdio server for agent access
|
/graphify <path> --mcp # start MCP stdio server for agent access
|
||||||
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
||||||
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
||||||
@@ -474,9 +476,9 @@ graphify export html # auto-aggregates to community view if graph > 5000 nodes
|
|||||||
# or: graphify export html --no-viz
|
# or: graphify export html --no-viz
|
||||||
```
|
```
|
||||||
|
|
||||||
### Steps 6b-8 - Wiki, Neo4j, SVG, GraphML, MCP, benchmark (only on their flags)
|
### Steps 6b-8 - Wiki, Neo4j, FalkorDB, SVG, GraphML, MCP, benchmark (only on their flags)
|
||||||
|
|
||||||
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--falkordb`/`--falkordb-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ Turn any folder of files into a navigable knowledge graph with community detecti
|
|||||||
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
||||||
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
||||||
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
||||||
|
/graphify <path> --falkordb # generate graphify-out/cypher.txt for FalkorDB
|
||||||
|
/graphify <path> --falkordb-push falkordb://localhost:6379 # push directly to FalkorDB
|
||||||
/graphify <path> --mcp # start MCP stdio server for agent access
|
/graphify <path> --mcp # start MCP stdio server for agent access
|
||||||
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
||||||
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
||||||
@@ -477,9 +479,9 @@ graphify export html # auto-aggregates to community view if graph > 5000 nodes
|
|||||||
# or: graphify export html --no-viz
|
# or: graphify export html --no-viz
|
||||||
```
|
```
|
||||||
|
|
||||||
### Steps 6b-8 - Wiki, Neo4j, SVG, GraphML, MCP, benchmark (only on their flags)
|
### Steps 6b-8 - Wiki, Neo4j, FalkorDB, SVG, GraphML, MCP, benchmark (only on their flags)
|
||||||
|
|
||||||
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--falkordb`/`--falkordb-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ Turn any folder of files into a navigable knowledge graph with community detecti
|
|||||||
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
||||||
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
||||||
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
||||||
|
/graphify <path> --falkordb # generate graphify-out/cypher.txt for FalkorDB
|
||||||
|
/graphify <path> --falkordb-push falkordb://localhost:6379 # push directly to FalkorDB
|
||||||
/graphify <path> --mcp # start MCP stdio server for agent access
|
/graphify <path> --mcp # start MCP stdio server for agent access
|
||||||
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
||||||
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
||||||
@@ -474,9 +476,9 @@ graphify export html # auto-aggregates to community view if graph > 5000 nodes
|
|||||||
# or: graphify export html --no-viz
|
# or: graphify export html --no-viz
|
||||||
```
|
```
|
||||||
|
|
||||||
### Steps 6b-8 - Wiki, Neo4j, SVG, GraphML, MCP, benchmark (only on their flags)
|
### Steps 6b-8 - Wiki, Neo4j, FalkorDB, SVG, GraphML, MCP, benchmark (only on their flags)
|
||||||
|
|
||||||
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--falkordb`/`--falkordb-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ Turn any folder of files into a navigable knowledge graph with community detecti
|
|||||||
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
||||||
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
||||||
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
||||||
|
/graphify <path> --falkordb # generate graphify-out/cypher.txt for FalkorDB
|
||||||
|
/graphify <path> --falkordb-push falkordb://localhost:6379 # push directly to FalkorDB
|
||||||
/graphify <path> --mcp # start MCP stdio server for agent access
|
/graphify <path> --mcp # start MCP stdio server for agent access
|
||||||
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
||||||
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
||||||
@@ -477,9 +479,9 @@ graphify export html # auto-aggregates to community view if graph > 5000 nodes
|
|||||||
# or: graphify export html --no-viz
|
# or: graphify export html --no-viz
|
||||||
```
|
```
|
||||||
|
|
||||||
### Steps 6b-8 - Wiki, Neo4j, SVG, GraphML, MCP, benchmark (only on their flags)
|
### Steps 6b-8 - Wiki, Neo4j, FalkorDB, SVG, GraphML, MCP, benchmark (only on their flags)
|
||||||
|
|
||||||
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--falkordb`/`--falkordb-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ Turn any folder of files into a navigable knowledge graph with community detecti
|
|||||||
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
||||||
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
||||||
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
||||||
|
/graphify <path> --falkordb # generate graphify-out/cypher.txt for FalkorDB
|
||||||
|
/graphify <path> --falkordb-push falkordb://localhost:6379 # push directly to FalkorDB
|
||||||
/graphify <path> --mcp # start MCP stdio server for agent access
|
/graphify <path> --mcp # start MCP stdio server for agent access
|
||||||
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
||||||
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
||||||
@@ -474,9 +476,9 @@ graphify export html # auto-aggregates to community view if graph > 5000 nodes
|
|||||||
# or: graphify export html --no-viz
|
# or: graphify export html --no-viz
|
||||||
```
|
```
|
||||||
|
|
||||||
### Steps 6b-8 - Wiki, Neo4j, SVG, GraphML, MCP, benchmark (only on their flags)
|
### Steps 6b-8 - Wiki, Neo4j, FalkorDB, SVG, GraphML, MCP, benchmark (only on their flags)
|
||||||
|
|
||||||
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--falkordb`/`--falkordb-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ Turn any folder of files into a navigable knowledge graph with community detecti
|
|||||||
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
||||||
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
||||||
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
||||||
|
/graphify <path> --falkordb # generate graphify-out/cypher.txt for FalkorDB
|
||||||
|
/graphify <path> --falkordb-push falkordb://localhost:6379 # push directly to FalkorDB
|
||||||
/graphify <path> --mcp # start MCP stdio server for agent access
|
/graphify <path> --mcp # start MCP stdio server for agent access
|
||||||
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
||||||
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
||||||
@@ -477,9 +479,9 @@ graphify export html # auto-aggregates to community view if graph > 5000 nodes
|
|||||||
# or: graphify export html --no-viz
|
# or: graphify export html --no-viz
|
||||||
```
|
```
|
||||||
|
|
||||||
### Steps 6b-8 - Wiki, Neo4j, SVG, GraphML, MCP, benchmark (only on their flags)
|
### Steps 6b-8 - Wiki, Neo4j, FalkorDB, SVG, GraphML, MCP, benchmark (only on their flags)
|
||||||
|
|
||||||
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--falkordb`/`--falkordb-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ Turn any folder of files into a navigable knowledge graph with community detecti
|
|||||||
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
||||||
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
||||||
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
||||||
|
/graphify <path> --falkordb # generate graphify-out/cypher.txt for FalkorDB
|
||||||
|
/graphify <path> --falkordb-push falkordb://localhost:6379 # push directly to FalkorDB
|
||||||
/graphify <path> --mcp # start MCP stdio server for agent access
|
/graphify <path> --mcp # start MCP stdio server for agent access
|
||||||
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
||||||
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
||||||
@@ -477,9 +479,9 @@ graphify export html # auto-aggregates to community view if graph > 5000 nodes
|
|||||||
# or: graphify export html --no-viz
|
# or: graphify export html --no-viz
|
||||||
```
|
```
|
||||||
|
|
||||||
### Steps 6b-8 - Wiki, Neo4j, SVG, GraphML, MCP, benchmark (only on their flags)
|
### Steps 6b-8 - Wiki, Neo4j, FalkorDB, SVG, GraphML, MCP, benchmark (only on their flags)
|
||||||
|
|
||||||
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--falkordb`/`--falkordb-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ Turn any folder of files into a navigable knowledge graph with community detecti
|
|||||||
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
||||||
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
||||||
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
||||||
|
/graphify <path> --falkordb # generate graphify-out/cypher.txt for FalkorDB
|
||||||
|
/graphify <path> --falkordb-push falkordb://localhost:6379 # push directly to FalkorDB
|
||||||
/graphify <path> --mcp # start MCP stdio server for agent access
|
/graphify <path> --mcp # start MCP stdio server for agent access
|
||||||
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
||||||
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
||||||
@@ -469,9 +471,9 @@ graphify export html # auto-aggregates to community view if graph > 5000 nodes
|
|||||||
# or: graphify export html --no-viz
|
# or: graphify export html --no-viz
|
||||||
```
|
```
|
||||||
|
|
||||||
### Steps 6b-8 - Wiki, Neo4j, SVG, GraphML, MCP, benchmark (only on their flags)
|
### Steps 6b-8 - Wiki, Neo4j, FalkorDB, SVG, GraphML, MCP, benchmark (only on their flags)
|
||||||
|
|
||||||
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--falkordb`/`--falkordb-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ Turn any folder of files into a navigable knowledge graph with community detecti
|
|||||||
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
||||||
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
||||||
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
||||||
|
/graphify <path> --falkordb # generate graphify-out/cypher.txt for FalkorDB
|
||||||
|
/graphify <path> --falkordb-push falkordb://localhost:6379 # push directly to FalkorDB
|
||||||
/graphify <path> --mcp # start MCP stdio server for agent access
|
/graphify <path> --mcp # start MCP stdio server for agent access
|
||||||
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
||||||
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
||||||
@@ -477,9 +479,9 @@ graphify export html # auto-aggregates to community view if graph > 5000 nodes
|
|||||||
# or: graphify export html --no-viz
|
# or: graphify export html --no-viz
|
||||||
```
|
```
|
||||||
|
|
||||||
### Steps 6b-8 - Wiki, Neo4j, SVG, GraphML, MCP, benchmark (only on their flags)
|
### Steps 6b-8 - Wiki, Neo4j, FalkorDB, SVG, GraphML, MCP, benchmark (only on their flags)
|
||||||
|
|
||||||
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--falkordb`/`--falkordb-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ Turn any folder of files into a navigable knowledge graph with community detecti
|
|||||||
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
||||||
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
||||||
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
||||||
|
/graphify <path> --falkordb # generate graphify-out/cypher.txt for FalkorDB
|
||||||
|
/graphify <path> --falkordb-push falkordb://localhost:6379 # push directly to FalkorDB
|
||||||
/graphify <path> --mcp # start MCP stdio server for agent access
|
/graphify <path> --mcp # start MCP stdio server for agent access
|
||||||
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
||||||
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
||||||
@@ -475,9 +477,9 @@ graphify export html # auto-aggregates to community view if graph > 5000 nodes
|
|||||||
# or: graphify export html --no-viz
|
# or: graphify export html --no-viz
|
||||||
```
|
```
|
||||||
|
|
||||||
### Steps 6b-8 - Wiki, Neo4j, SVG, GraphML, MCP, benchmark (only on their flags)
|
### Steps 6b-8 - Wiki, Neo4j, FalkorDB, SVG, GraphML, MCP, benchmark (only on their flags)
|
||||||
|
|
||||||
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--falkordb`/`--falkordb-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ Turn any folder of files into a navigable knowledge graph with community detecti
|
|||||||
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
||||||
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
||||||
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
||||||
|
/graphify <path> --falkordb # generate graphify-out/cypher.txt for FalkorDB
|
||||||
|
/graphify <path> --falkordb-push falkordb://localhost:6379 # push directly to FalkorDB
|
||||||
/graphify <path> --mcp # start MCP stdio server for agent access
|
/graphify <path> --mcp # start MCP stdio server for agent access
|
||||||
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
||||||
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
||||||
@@ -473,9 +475,9 @@ graphify export html # auto-aggregates to community view if graph > 5000 nodes
|
|||||||
# or: graphify export html --no-viz
|
# or: graphify export html --no-viz
|
||||||
```
|
```
|
||||||
|
|
||||||
### Steps 6b-8 - Wiki, Neo4j, SVG, GraphML, MCP, benchmark (only on their flags)
|
### Steps 6b-8 - Wiki, Neo4j, FalkorDB, SVG, GraphML, MCP, benchmark (only on their flags)
|
||||||
|
|
||||||
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--falkordb`/`--falkordb-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ Turn any folder of files into a navigable knowledge graph with community detecti
|
|||||||
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
||||||
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
||||||
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
||||||
|
/graphify <path> --falkordb # generate graphify-out/cypher.txt for FalkorDB
|
||||||
|
/graphify <path> --falkordb-push falkordb://localhost:6379 # push directly to FalkorDB
|
||||||
/graphify <path> --mcp # start MCP stdio server for agent access
|
/graphify <path> --mcp # start MCP stdio server for agent access
|
||||||
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
||||||
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
||||||
@@ -499,9 +501,9 @@ graphify export html # auto-aggregates to community view if graph > 5000 nodes
|
|||||||
# or: graphify export html --no-viz
|
# or: graphify export html --no-viz
|
||||||
```
|
```
|
||||||
|
|
||||||
### Steps 6b-8 - Wiki, Neo4j, SVG, GraphML, MCP, benchmark (only on their flags)
|
### Steps 6b-8 - Wiki, Neo4j, FalkorDB, SVG, GraphML, MCP, benchmark (only on their flags)
|
||||||
|
|
||||||
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--falkordb`/`--falkordb-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
+4
-2
@@ -26,6 +26,8 @@ Turn any folder of files into a navigable knowledge graph with community detecti
|
|||||||
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
||||||
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
||||||
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
||||||
|
/graphify <path> --falkordb # generate graphify-out/cypher.txt for FalkorDB
|
||||||
|
/graphify <path> --falkordb-push falkordb://localhost:6379 # push directly to FalkorDB
|
||||||
/graphify <path> --mcp # start MCP stdio server for agent access
|
/graphify <path> --mcp # start MCP stdio server for agent access
|
||||||
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
||||||
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
||||||
@@ -477,9 +479,9 @@ graphify export html # auto-aggregates to community view if graph > 5000 nodes
|
|||||||
# or: graphify export html --no-viz
|
# or: graphify export html --no-viz
|
||||||
```
|
```
|
||||||
|
|
||||||
### Steps 6b-8 - Wiki, Neo4j, SVG, GraphML, MCP, benchmark (only on their flags)
|
### Steps 6b-8 - Wiki, Neo4j, FalkorDB, SVG, GraphML, MCP, benchmark (only on their flags)
|
||||||
|
|
||||||
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--falkordb`/`--falkordb-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# graphify reference: extra exports and benchmark
|
# graphify reference: extra exports and benchmark
|
||||||
|
|
||||||
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--falkordb`, `--falkordb-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
||||||
|
|
||||||
### Step 6b - Wiki (only if --wiki flag)
|
### Step 6b - Wiki (only if --wiki flag)
|
||||||
|
|
||||||
@@ -28,6 +28,22 @@ graphify export neo4j --push bolt://localhost:7687 --user neo4j --password PASSW
|
|||||||
|
|
||||||
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
|
### Step 7a - FalkorDB export (only if --falkordb or --falkordb-push flag)
|
||||||
|
|
||||||
|
**If `--falkordb`** - generate a Cypher file. The statements are OpenCypher, but FalkorDB's `GRAPH.QUERY` runs one statement at a time (no bulk script import like Neo4j's `cypher-shell`), so prefer `--falkordb-push` to load a graph. Use this only when you want the portable `cypher.txt` artifact:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb
|
||||||
|
```
|
||||||
|
|
||||||
|
**If `--falkordb-push <uri>`** - push directly to a running FalkorDB instance. Credentials are optional; ask the user only if the instance requires auth:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb --push falkordb://localhost:6379
|
||||||
|
```
|
||||||
|
|
||||||
|
Default URI is `falkordb://localhost:6379` (the scheme is informational - `redis://` or a bare `host:port` work too), auth is optional, and the target graph defaults to `graphify`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
### Step 7b - SVG export (only if --svg flag)
|
### Step 7b - SVG export (only if --svg flag)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# graphify reference: extra exports and benchmark
|
# graphify reference: extra exports and benchmark
|
||||||
|
|
||||||
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--falkordb`, `--falkordb-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
||||||
|
|
||||||
### Step 6b - Wiki (only if --wiki flag)
|
### Step 6b - Wiki (only if --wiki flag)
|
||||||
|
|
||||||
@@ -28,6 +28,22 @@ graphify export neo4j --push bolt://localhost:7687 --user neo4j --password PASSW
|
|||||||
|
|
||||||
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
|
### Step 7a - FalkorDB export (only if --falkordb or --falkordb-push flag)
|
||||||
|
|
||||||
|
**If `--falkordb`** - generate a Cypher file. The statements are OpenCypher, but FalkorDB's `GRAPH.QUERY` runs one statement at a time (no bulk script import like Neo4j's `cypher-shell`), so prefer `--falkordb-push` to load a graph. Use this only when you want the portable `cypher.txt` artifact:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb
|
||||||
|
```
|
||||||
|
|
||||||
|
**If `--falkordb-push <uri>`** - push directly to a running FalkorDB instance. Credentials are optional; ask the user only if the instance requires auth:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb --push falkordb://localhost:6379
|
||||||
|
```
|
||||||
|
|
||||||
|
Default URI is `falkordb://localhost:6379` (the scheme is informational - `redis://` or a bare `host:port` work too), auth is optional, and the target graph defaults to `graphify`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
### Step 7b - SVG export (only if --svg flag)
|
### Step 7b - SVG export (only if --svg flag)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# graphify reference: extra exports and benchmark
|
# graphify reference: extra exports and benchmark
|
||||||
|
|
||||||
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--falkordb`, `--falkordb-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
||||||
|
|
||||||
### Step 6b - Wiki (only if --wiki flag)
|
### Step 6b - Wiki (only if --wiki flag)
|
||||||
|
|
||||||
@@ -28,6 +28,22 @@ graphify export neo4j --push bolt://localhost:7687 --user neo4j --password PASSW
|
|||||||
|
|
||||||
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
|
### Step 7a - FalkorDB export (only if --falkordb or --falkordb-push flag)
|
||||||
|
|
||||||
|
**If `--falkordb`** - generate a Cypher file. The statements are OpenCypher, but FalkorDB's `GRAPH.QUERY` runs one statement at a time (no bulk script import like Neo4j's `cypher-shell`), so prefer `--falkordb-push` to load a graph. Use this only when you want the portable `cypher.txt` artifact:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb
|
||||||
|
```
|
||||||
|
|
||||||
|
**If `--falkordb-push <uri>`** - push directly to a running FalkorDB instance. Credentials are optional; ask the user only if the instance requires auth:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb --push falkordb://localhost:6379
|
||||||
|
```
|
||||||
|
|
||||||
|
Default URI is `falkordb://localhost:6379` (the scheme is informational - `redis://` or a bare `host:port` work too), auth is optional, and the target graph defaults to `graphify`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
### Step 7b - SVG export (only if --svg flag)
|
### Step 7b - SVG export (only if --svg flag)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# graphify reference: extra exports and benchmark
|
# graphify reference: extra exports and benchmark
|
||||||
|
|
||||||
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--falkordb`, `--falkordb-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
||||||
|
|
||||||
### Step 6b - Wiki (only if --wiki flag)
|
### Step 6b - Wiki (only if --wiki flag)
|
||||||
|
|
||||||
@@ -28,6 +28,22 @@ graphify export neo4j --push bolt://localhost:7687 --user neo4j --password PASSW
|
|||||||
|
|
||||||
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
|
### Step 7a - FalkorDB export (only if --falkordb or --falkordb-push flag)
|
||||||
|
|
||||||
|
**If `--falkordb`** - generate a Cypher file. The statements are OpenCypher, but FalkorDB's `GRAPH.QUERY` runs one statement at a time (no bulk script import like Neo4j's `cypher-shell`), so prefer `--falkordb-push` to load a graph. Use this only when you want the portable `cypher.txt` artifact:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb
|
||||||
|
```
|
||||||
|
|
||||||
|
**If `--falkordb-push <uri>`** - push directly to a running FalkorDB instance. Credentials are optional; ask the user only if the instance requires auth:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb --push falkordb://localhost:6379
|
||||||
|
```
|
||||||
|
|
||||||
|
Default URI is `falkordb://localhost:6379` (the scheme is informational - `redis://` or a bare `host:port` work too), auth is optional, and the target graph defaults to `graphify`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
### Step 7b - SVG export (only if --svg flag)
|
### Step 7b - SVG export (only if --svg flag)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# graphify reference: extra exports and benchmark
|
# graphify reference: extra exports and benchmark
|
||||||
|
|
||||||
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--falkordb`, `--falkordb-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
||||||
|
|
||||||
### Step 6b - Wiki (only if --wiki flag)
|
### Step 6b - Wiki (only if --wiki flag)
|
||||||
|
|
||||||
@@ -28,6 +28,22 @@ graphify export neo4j --push bolt://localhost:7687 --user neo4j --password PASSW
|
|||||||
|
|
||||||
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
|
### Step 7a - FalkorDB export (only if --falkordb or --falkordb-push flag)
|
||||||
|
|
||||||
|
**If `--falkordb`** - generate a Cypher file. The statements are OpenCypher, but FalkorDB's `GRAPH.QUERY` runs one statement at a time (no bulk script import like Neo4j's `cypher-shell`), so prefer `--falkordb-push` to load a graph. Use this only when you want the portable `cypher.txt` artifact:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb
|
||||||
|
```
|
||||||
|
|
||||||
|
**If `--falkordb-push <uri>`** - push directly to a running FalkorDB instance. Credentials are optional; ask the user only if the instance requires auth:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb --push falkordb://localhost:6379
|
||||||
|
```
|
||||||
|
|
||||||
|
Default URI is `falkordb://localhost:6379` (the scheme is informational - `redis://` or a bare `host:port` work too), auth is optional, and the target graph defaults to `graphify`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
### Step 7b - SVG export (only if --svg flag)
|
### Step 7b - SVG export (only if --svg flag)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# graphify reference: extra exports and benchmark
|
# graphify reference: extra exports and benchmark
|
||||||
|
|
||||||
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--falkordb`, `--falkordb-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
||||||
|
|
||||||
### Step 6b - Wiki (only if --wiki flag)
|
### Step 6b - Wiki (only if --wiki flag)
|
||||||
|
|
||||||
@@ -28,6 +28,22 @@ graphify export neo4j --push bolt://localhost:7687 --user neo4j --password PASSW
|
|||||||
|
|
||||||
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
|
### Step 7a - FalkorDB export (only if --falkordb or --falkordb-push flag)
|
||||||
|
|
||||||
|
**If `--falkordb`** - generate a Cypher file. The statements are OpenCypher, but FalkorDB's `GRAPH.QUERY` runs one statement at a time (no bulk script import like Neo4j's `cypher-shell`), so prefer `--falkordb-push` to load a graph. Use this only when you want the portable `cypher.txt` artifact:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb
|
||||||
|
```
|
||||||
|
|
||||||
|
**If `--falkordb-push <uri>`** - push directly to a running FalkorDB instance. Credentials are optional; ask the user only if the instance requires auth:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb --push falkordb://localhost:6379
|
||||||
|
```
|
||||||
|
|
||||||
|
Default URI is `falkordb://localhost:6379` (the scheme is informational - `redis://` or a bare `host:port` work too), auth is optional, and the target graph defaults to `graphify`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
### Step 7b - SVG export (only if --svg flag)
|
### Step 7b - SVG export (only if --svg flag)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# graphify reference: extra exports and benchmark
|
# graphify reference: extra exports and benchmark
|
||||||
|
|
||||||
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--falkordb`, `--falkordb-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
||||||
|
|
||||||
### Step 6b - Wiki (only if --wiki flag)
|
### Step 6b - Wiki (only if --wiki flag)
|
||||||
|
|
||||||
@@ -28,6 +28,22 @@ graphify export neo4j --push bolt://localhost:7687 --user neo4j --password PASSW
|
|||||||
|
|
||||||
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
|
### Step 7a - FalkorDB export (only if --falkordb or --falkordb-push flag)
|
||||||
|
|
||||||
|
**If `--falkordb`** - generate a Cypher file. The statements are OpenCypher, but FalkorDB's `GRAPH.QUERY` runs one statement at a time (no bulk script import like Neo4j's `cypher-shell`), so prefer `--falkordb-push` to load a graph. Use this only when you want the portable `cypher.txt` artifact:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb
|
||||||
|
```
|
||||||
|
|
||||||
|
**If `--falkordb-push <uri>`** - push directly to a running FalkorDB instance. Credentials are optional; ask the user only if the instance requires auth:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb --push falkordb://localhost:6379
|
||||||
|
```
|
||||||
|
|
||||||
|
Default URI is `falkordb://localhost:6379` (the scheme is informational - `redis://` or a bare `host:port` work too), auth is optional, and the target graph defaults to `graphify`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
### Step 7b - SVG export (only if --svg flag)
|
### Step 7b - SVG export (only if --svg flag)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# graphify reference: extra exports and benchmark
|
# graphify reference: extra exports and benchmark
|
||||||
|
|
||||||
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--falkordb`, `--falkordb-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
||||||
|
|
||||||
### Step 6b - Wiki (only if --wiki flag)
|
### Step 6b - Wiki (only if --wiki flag)
|
||||||
|
|
||||||
@@ -28,6 +28,22 @@ graphify export neo4j --push bolt://localhost:7687 --user neo4j --password PASSW
|
|||||||
|
|
||||||
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
|
### Step 7a - FalkorDB export (only if --falkordb or --falkordb-push flag)
|
||||||
|
|
||||||
|
**If `--falkordb`** - generate a Cypher file. The statements are OpenCypher, but FalkorDB's `GRAPH.QUERY` runs one statement at a time (no bulk script import like Neo4j's `cypher-shell`), so prefer `--falkordb-push` to load a graph. Use this only when you want the portable `cypher.txt` artifact:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb
|
||||||
|
```
|
||||||
|
|
||||||
|
**If `--falkordb-push <uri>`** - push directly to a running FalkorDB instance. Credentials are optional; ask the user only if the instance requires auth:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb --push falkordb://localhost:6379
|
||||||
|
```
|
||||||
|
|
||||||
|
Default URI is `falkordb://localhost:6379` (the scheme is informational - `redis://` or a bare `host:port` work too), auth is optional, and the target graph defaults to `graphify`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
### Step 7b - SVG export (only if --svg flag)
|
### Step 7b - SVG export (only if --svg flag)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# graphify reference: extra exports and benchmark
|
# graphify reference: extra exports and benchmark
|
||||||
|
|
||||||
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--falkordb`, `--falkordb-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
||||||
|
|
||||||
### Step 6b - Wiki (only if --wiki flag)
|
### Step 6b - Wiki (only if --wiki flag)
|
||||||
|
|
||||||
@@ -28,6 +28,22 @@ graphify export neo4j --push bolt://localhost:7687 --user neo4j --password PASSW
|
|||||||
|
|
||||||
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
|
### Step 7a - FalkorDB export (only if --falkordb or --falkordb-push flag)
|
||||||
|
|
||||||
|
**If `--falkordb`** - generate a Cypher file. The statements are OpenCypher, but FalkorDB's `GRAPH.QUERY` runs one statement at a time (no bulk script import like Neo4j's `cypher-shell`), so prefer `--falkordb-push` to load a graph. Use this only when you want the portable `cypher.txt` artifact:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb
|
||||||
|
```
|
||||||
|
|
||||||
|
**If `--falkordb-push <uri>`** - push directly to a running FalkorDB instance. Credentials are optional; ask the user only if the instance requires auth:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb --push falkordb://localhost:6379
|
||||||
|
```
|
||||||
|
|
||||||
|
Default URI is `falkordb://localhost:6379` (the scheme is informational - `redis://` or a bare `host:port` work too), auth is optional, and the target graph defaults to `graphify`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
### Step 7b - SVG export (only if --svg flag)
|
### Step 7b - SVG export (only if --svg flag)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# graphify reference: extra exports and benchmark
|
# graphify reference: extra exports and benchmark
|
||||||
|
|
||||||
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--falkordb`, `--falkordb-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
||||||
|
|
||||||
### Step 6b - Wiki (only if --wiki flag)
|
### Step 6b - Wiki (only if --wiki flag)
|
||||||
|
|
||||||
@@ -28,6 +28,22 @@ graphify export neo4j --push bolt://localhost:7687 --user neo4j --password PASSW
|
|||||||
|
|
||||||
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
|
### Step 7a - FalkorDB export (only if --falkordb or --falkordb-push flag)
|
||||||
|
|
||||||
|
**If `--falkordb`** - generate a Cypher file. The statements are OpenCypher, but FalkorDB's `GRAPH.QUERY` runs one statement at a time (no bulk script import like Neo4j's `cypher-shell`), so prefer `--falkordb-push` to load a graph. Use this only when you want the portable `cypher.txt` artifact:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb
|
||||||
|
```
|
||||||
|
|
||||||
|
**If `--falkordb-push <uri>`** - push directly to a running FalkorDB instance. Credentials are optional; ask the user only if the instance requires auth:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb --push falkordb://localhost:6379
|
||||||
|
```
|
||||||
|
|
||||||
|
Default URI is `falkordb://localhost:6379` (the scheme is informational - `redis://` or a bare `host:port` work too), auth is optional, and the target graph defaults to `graphify`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
### Step 7b - SVG export (only if --svg flag)
|
### Step 7b - SVG export (only if --svg flag)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# graphify reference: extra exports and benchmark
|
# graphify reference: extra exports and benchmark
|
||||||
|
|
||||||
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--falkordb`, `--falkordb-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
||||||
|
|
||||||
### Step 6b - Wiki (only if --wiki flag)
|
### Step 6b - Wiki (only if --wiki flag)
|
||||||
|
|
||||||
@@ -28,6 +28,22 @@ graphify export neo4j --push bolt://localhost:7687 --user neo4j --password PASSW
|
|||||||
|
|
||||||
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
|
### Step 7a - FalkorDB export (only if --falkordb or --falkordb-push flag)
|
||||||
|
|
||||||
|
**If `--falkordb`** - generate a Cypher file. The statements are OpenCypher, but FalkorDB's `GRAPH.QUERY` runs one statement at a time (no bulk script import like Neo4j's `cypher-shell`), so prefer `--falkordb-push` to load a graph. Use this only when you want the portable `cypher.txt` artifact:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb
|
||||||
|
```
|
||||||
|
|
||||||
|
**If `--falkordb-push <uri>`** - push directly to a running FalkorDB instance. Credentials are optional; ask the user only if the instance requires auth:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb --push falkordb://localhost:6379
|
||||||
|
```
|
||||||
|
|
||||||
|
Default URI is `falkordb://localhost:6379` (the scheme is informational - `redis://` or a bare `host:port` work too), auth is optional, and the target graph defaults to `graphify`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
### Step 7b - SVG export (only if --svg flag)
|
### Step 7b - SVG export (only if --svg flag)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# graphify reference: extra exports and benchmark
|
# graphify reference: extra exports and benchmark
|
||||||
|
|
||||||
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--falkordb`, `--falkordb-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
||||||
|
|
||||||
### Step 6b - Wiki (only if --wiki flag)
|
### Step 6b - Wiki (only if --wiki flag)
|
||||||
|
|
||||||
@@ -28,6 +28,22 @@ graphify export neo4j --push bolt://localhost:7687 --user neo4j --password PASSW
|
|||||||
|
|
||||||
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
|
### Step 7a - FalkorDB export (only if --falkordb or --falkordb-push flag)
|
||||||
|
|
||||||
|
**If `--falkordb`** - generate a Cypher file. The statements are OpenCypher, but FalkorDB's `GRAPH.QUERY` runs one statement at a time (no bulk script import like Neo4j's `cypher-shell`), so prefer `--falkordb-push` to load a graph. Use this only when you want the portable `cypher.txt` artifact:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb
|
||||||
|
```
|
||||||
|
|
||||||
|
**If `--falkordb-push <uri>`** - push directly to a running FalkorDB instance. Credentials are optional; ask the user only if the instance requires auth:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb --push falkordb://localhost:6379
|
||||||
|
```
|
||||||
|
|
||||||
|
Default URI is `falkordb://localhost:6379` (the scheme is informational - `redis://` or a bare `host:port` work too), auth is optional, and the target graph defaults to `graphify`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
### Step 7b - SVG export (only if --svg flag)
|
### Step 7b - SVG export (only if --svg flag)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# graphify reference: extra exports and benchmark
|
# graphify reference: extra exports and benchmark
|
||||||
|
|
||||||
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--falkordb`, `--falkordb-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
||||||
|
|
||||||
### Step 6b - Wiki (only if --wiki flag)
|
### Step 6b - Wiki (only if --wiki flag)
|
||||||
|
|
||||||
@@ -28,6 +28,22 @@ graphify export neo4j --push bolt://localhost:7687 --user neo4j --password PASSW
|
|||||||
|
|
||||||
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
|
### Step 7a - FalkorDB export (only if --falkordb or --falkordb-push flag)
|
||||||
|
|
||||||
|
**If `--falkordb`** - generate a Cypher file. The statements are OpenCypher, but FalkorDB's `GRAPH.QUERY` runs one statement at a time (no bulk script import like Neo4j's `cypher-shell`), so prefer `--falkordb-push` to load a graph. Use this only when you want the portable `cypher.txt` artifact:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb
|
||||||
|
```
|
||||||
|
|
||||||
|
**If `--falkordb-push <uri>`** - push directly to a running FalkorDB instance. Credentials are optional; ask the user only if the instance requires auth:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb --push falkordb://localhost:6379
|
||||||
|
```
|
||||||
|
|
||||||
|
Default URI is `falkordb://localhost:6379` (the scheme is informational - `redis://` or a bare `host:port` work too), auth is optional, and the target graph defaults to `graphify`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
### Step 7b - SVG export (only if --svg flag)
|
### Step 7b - SVG export (only if --svg flag)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
+2
-1
@@ -50,6 +50,7 @@ Issues = "https://github.com/safishamsi/graphify/issues"
|
|||||||
[project.optional-dependencies]
|
[project.optional-dependencies]
|
||||||
mcp = ["mcp"]
|
mcp = ["mcp"]
|
||||||
neo4j = ["neo4j"]
|
neo4j = ["neo4j"]
|
||||||
|
falkordb = ["falkordb"]
|
||||||
pdf = ["pypdf", "markdownify"]
|
pdf = ["pypdf", "markdownify"]
|
||||||
watch = ["watchdog"]
|
watch = ["watchdog"]
|
||||||
svg = ["matplotlib", "numpy>=2.0; python_version >= '3.13'"]
|
svg = ["matplotlib", "numpy>=2.0; python_version >= '3.13'"]
|
||||||
@@ -71,7 +72,7 @@ sql = ["tree-sitter-sql"]
|
|||||||
# avoids breaking the default `uv tool install graphifyy` for everyone (#1104).
|
# avoids breaking the default `uv tool install graphifyy` for everyone (#1104).
|
||||||
dm = ["tree-sitter-dm"]
|
dm = ["tree-sitter-dm"]
|
||||||
terraform = ["tree-sitter-hcl"]
|
terraform = ["tree-sitter-hcl"]
|
||||||
all = ["mcp", "neo4j", "pypdf", "markdownify", "watchdog", "graspologic; python_version < '3.13'", "python-docx", "openpyxl", "faster-whisper; python_version >= '3.11'", "yt-dlp", "matplotlib", "numpy>=2.0; python_version >= '3.13'", "openai", "tiktoken", "boto3", "anthropic", "tree-sitter-sql", "jieba", "tree-sitter-dm", "tree-sitter-hcl"]
|
all = ["mcp", "neo4j", "falkordb", "pypdf", "markdownify", "watchdog", "graspologic; python_version < '3.13'", "python-docx", "openpyxl", "faster-whisper; python_version >= '3.11'", "yt-dlp", "matplotlib", "numpy>=2.0; python_version >= '3.13'", "openai", "tiktoken", "boto3", "anthropic", "tree-sitter-sql", "jieba", "tree-sitter-dm", "tree-sitter-hcl"]
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
graphify = "graphify.__main__:main"
|
graphify = "graphify.__main__:main"
|
||||||
|
|||||||
@@ -154,6 +154,19 @@ def test_export_neo4j_creates_cypher(tmp_path):
|
|||||||
assert "MERGE" in content or "CREATE" in content
|
assert "MERGE" in content or "CREATE" in content
|
||||||
|
|
||||||
|
|
||||||
|
# ── graphify export falkordb (cypher) ────────────────────────────────────────
|
||||||
|
|
||||||
|
def test_export_falkordb_creates_cypher(tmp_path):
|
||||||
|
_make_graph(tmp_path)
|
||||||
|
r = _run(["export", "falkordb"], tmp_path)
|
||||||
|
assert r.returncode == 0, r.stderr
|
||||||
|
cypher = tmp_path / "graphify-out" / "cypher.txt"
|
||||||
|
assert cypher.exists()
|
||||||
|
assert cypher.stat().st_size > 0
|
||||||
|
content = cypher.read_text()
|
||||||
|
assert "MERGE" in content or "CREATE" in content
|
||||||
|
|
||||||
|
|
||||||
# ── graphify query ───────────────────────────────────────────────────────────
|
# ── graphify query ───────────────────────────────────────────────────────────
|
||||||
|
|
||||||
def test_query_returns_output(tmp_path):
|
def test_query_returns_output(tmp_path):
|
||||||
|
|||||||
@@ -0,0 +1,91 @@
|
|||||||
|
"""Integration test for push_to_falkordb against a real FalkorDB instance.
|
||||||
|
|
||||||
|
Runs for real against `falkordb/falkordb:latest`:
|
||||||
|
|
||||||
|
docker run -d -p 6379:6379 falkordb/falkordb:latest
|
||||||
|
uv run pytest tests/test_falkordb_integration.py -q
|
||||||
|
|
||||||
|
The test auto-skips when the `falkordb` SDK is not installed or no FalkorDB is
|
||||||
|
reachable, so it is a no-op in the default CI (which runs no external services).
|
||||||
|
Host/port are overridable via FALKORDB_HOST / FALKORDB_PORT.
|
||||||
|
"""
|
||||||
|
from __future__ import annotations
|
||||||
|
|
||||||
|
import json
|
||||||
|
import os
|
||||||
|
from pathlib import Path
|
||||||
|
|
||||||
|
import pytest
|
||||||
|
|
||||||
|
falkordb = pytest.importorskip("falkordb")
|
||||||
|
|
||||||
|
FIXTURES = Path(__file__).parent / "fixtures"
|
||||||
|
HOST = os.environ.get("FALKORDB_HOST", "localhost")
|
||||||
|
PORT = int(os.environ.get("FALKORDB_PORT", "6379"))
|
||||||
|
GRAPH_NAME = "graphify_test"
|
||||||
|
|
||||||
|
|
||||||
|
def _connect():
|
||||||
|
"""Return a connected FalkorDB client, or skip if none is reachable."""
|
||||||
|
try:
|
||||||
|
db = falkordb.FalkorDB(host=HOST, port=PORT)
|
||||||
|
db.connection.ping()
|
||||||
|
return db
|
||||||
|
except Exception as e: # pragma: no cover - depends on local environment
|
||||||
|
pytest.skip(f"no FalkorDB reachable at {HOST}:{PORT} ({e})")
|
||||||
|
|
||||||
|
|
||||||
|
@pytest.fixture()
|
||||||
|
def db():
|
||||||
|
client = _connect()
|
||||||
|
# Start from a clean slate and clean up afterwards.
|
||||||
|
try:
|
||||||
|
client.select_graph(GRAPH_NAME).delete()
|
||||||
|
except Exception:
|
||||||
|
pass
|
||||||
|
yield client
|
||||||
|
try:
|
||||||
|
client.select_graph(GRAPH_NAME).delete()
|
||||||
|
except Exception:
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
|
def test_push_to_falkordb_creates_expected_graph(db):
|
||||||
|
from graphify.build import build_from_json
|
||||||
|
from graphify.export import push_to_falkordb
|
||||||
|
|
||||||
|
extraction = json.loads((FIXTURES / "extraction.json").read_text())
|
||||||
|
G = build_from_json(extraction)
|
||||||
|
|
||||||
|
result = push_to_falkordb(
|
||||||
|
G, uri=f"{HOST}:{PORT}", graph_name=GRAPH_NAME
|
||||||
|
)
|
||||||
|
|
||||||
|
assert result["nodes"] == G.number_of_nodes()
|
||||||
|
assert result["edges"] == G.number_of_edges()
|
||||||
|
|
||||||
|
graph = db.select_graph(GRAPH_NAME)
|
||||||
|
node_count = graph.query("MATCH (n) RETURN count(n)").result_set[0][0]
|
||||||
|
edge_count = graph.query("MATCH ()-[r]->() RETURN count(r)").result_set[0][0]
|
||||||
|
|
||||||
|
assert node_count == G.number_of_nodes()
|
||||||
|
assert edge_count == G.number_of_edges()
|
||||||
|
|
||||||
|
|
||||||
|
def test_push_to_falkordb_is_idempotent(db):
|
||||||
|
"""MERGE-based push is safe to re-run - counts must not grow."""
|
||||||
|
from graphify.build import build_from_json
|
||||||
|
from graphify.export import push_to_falkordb
|
||||||
|
|
||||||
|
extraction = json.loads((FIXTURES / "extraction.json").read_text())
|
||||||
|
G = build_from_json(extraction)
|
||||||
|
|
||||||
|
push_to_falkordb(G, uri=f"{HOST}:{PORT}", graph_name=GRAPH_NAME)
|
||||||
|
push_to_falkordb(G, uri=f"{HOST}:{PORT}", graph_name=GRAPH_NAME)
|
||||||
|
|
||||||
|
graph = db.select_graph(GRAPH_NAME)
|
||||||
|
node_count = graph.query("MATCH (n) RETURN count(n)").result_set[0][0]
|
||||||
|
edge_count = graph.query("MATCH ()-[r]->() RETURN count(r)").result_set[0][0]
|
||||||
|
|
||||||
|
assert node_count == G.number_of_nodes()
|
||||||
|
assert edge_count == G.number_of_edges()
|
||||||
@@ -26,6 +26,8 @@ Turn any folder of files into a navigable knowledge graph with community detecti
|
|||||||
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
||||||
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
||||||
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
||||||
|
/graphify <path> --falkordb # generate graphify-out/cypher.txt for FalkorDB
|
||||||
|
/graphify <path> --falkordb-push falkordb://localhost:6379 # push directly to FalkorDB
|
||||||
/graphify <path> --mcp # start MCP stdio server for agent access
|
/graphify <path> --mcp # start MCP stdio server for agent access
|
||||||
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
||||||
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
||||||
@@ -474,9 +476,9 @@ graphify export html # auto-aggregates to community view if graph > 5000 nodes
|
|||||||
# or: graphify export html --no-viz
|
# or: graphify export html --no-viz
|
||||||
```
|
```
|
||||||
|
|
||||||
### Steps 6b-8 - Wiki, Neo4j, SVG, GraphML, MCP, benchmark (only on their flags)
|
### Steps 6b-8 - Wiki, Neo4j, FalkorDB, SVG, GraphML, MCP, benchmark (only on their flags)
|
||||||
|
|
||||||
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--falkordb`/`--falkordb-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ Turn any folder of files into a navigable knowledge graph with community detecti
|
|||||||
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
||||||
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
||||||
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
||||||
|
/graphify <path> --falkordb # generate graphify-out/cypher.txt for FalkorDB
|
||||||
|
/graphify <path> --falkordb-push falkordb://localhost:6379 # push directly to FalkorDB
|
||||||
/graphify <path> --mcp # start MCP stdio server for agent access
|
/graphify <path> --mcp # start MCP stdio server for agent access
|
||||||
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
||||||
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
||||||
@@ -477,9 +479,9 @@ graphify export html # auto-aggregates to community view if graph > 5000 nodes
|
|||||||
# or: graphify export html --no-viz
|
# or: graphify export html --no-viz
|
||||||
```
|
```
|
||||||
|
|
||||||
### Steps 6b-8 - Wiki, Neo4j, SVG, GraphML, MCP, benchmark (only on their flags)
|
### Steps 6b-8 - Wiki, Neo4j, FalkorDB, SVG, GraphML, MCP, benchmark (only on their flags)
|
||||||
|
|
||||||
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--falkordb`/`--falkordb-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ Turn any folder of files into a navigable knowledge graph with community detecti
|
|||||||
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
||||||
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
||||||
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
||||||
|
/graphify <path> --falkordb # generate graphify-out/cypher.txt for FalkorDB
|
||||||
|
/graphify <path> --falkordb-push falkordb://localhost:6379 # push directly to FalkorDB
|
||||||
/graphify <path> --mcp # start MCP stdio server for agent access
|
/graphify <path> --mcp # start MCP stdio server for agent access
|
||||||
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
||||||
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
||||||
@@ -474,9 +476,9 @@ graphify export html # auto-aggregates to community view if graph > 5000 nodes
|
|||||||
# or: graphify export html --no-viz
|
# or: graphify export html --no-viz
|
||||||
```
|
```
|
||||||
|
|
||||||
### Steps 6b-8 - Wiki, Neo4j, SVG, GraphML, MCP, benchmark (only on their flags)
|
### Steps 6b-8 - Wiki, Neo4j, FalkorDB, SVG, GraphML, MCP, benchmark (only on their flags)
|
||||||
|
|
||||||
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--falkordb`/`--falkordb-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ Turn any folder of files into a navigable knowledge graph with community detecti
|
|||||||
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
||||||
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
||||||
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
||||||
|
/graphify <path> --falkordb # generate graphify-out/cypher.txt for FalkorDB
|
||||||
|
/graphify <path> --falkordb-push falkordb://localhost:6379 # push directly to FalkorDB
|
||||||
/graphify <path> --mcp # start MCP stdio server for agent access
|
/graphify <path> --mcp # start MCP stdio server for agent access
|
||||||
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
||||||
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
||||||
@@ -477,9 +479,9 @@ graphify export html # auto-aggregates to community view if graph > 5000 nodes
|
|||||||
# or: graphify export html --no-viz
|
# or: graphify export html --no-viz
|
||||||
```
|
```
|
||||||
|
|
||||||
### Steps 6b-8 - Wiki, Neo4j, SVG, GraphML, MCP, benchmark (only on their flags)
|
### Steps 6b-8 - Wiki, Neo4j, FalkorDB, SVG, GraphML, MCP, benchmark (only on their flags)
|
||||||
|
|
||||||
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--falkordb`/`--falkordb-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ Turn any folder of files into a navigable knowledge graph with community detecti
|
|||||||
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
||||||
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
||||||
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
||||||
|
/graphify <path> --falkordb # generate graphify-out/cypher.txt for FalkorDB
|
||||||
|
/graphify <path> --falkordb-push falkordb://localhost:6379 # push directly to FalkorDB
|
||||||
/graphify <path> --mcp # start MCP stdio server for agent access
|
/graphify <path> --mcp # start MCP stdio server for agent access
|
||||||
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
||||||
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
||||||
@@ -474,9 +476,9 @@ graphify export html # auto-aggregates to community view if graph > 5000 nodes
|
|||||||
# or: graphify export html --no-viz
|
# or: graphify export html --no-viz
|
||||||
```
|
```
|
||||||
|
|
||||||
### Steps 6b-8 - Wiki, Neo4j, SVG, GraphML, MCP, benchmark (only on their flags)
|
### Steps 6b-8 - Wiki, Neo4j, FalkorDB, SVG, GraphML, MCP, benchmark (only on their flags)
|
||||||
|
|
||||||
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--falkordb`/`--falkordb-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ Turn any folder of files into a navigable knowledge graph with community detecti
|
|||||||
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
||||||
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
||||||
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
||||||
|
/graphify <path> --falkordb # generate graphify-out/cypher.txt for FalkorDB
|
||||||
|
/graphify <path> --falkordb-push falkordb://localhost:6379 # push directly to FalkorDB
|
||||||
/graphify <path> --mcp # start MCP stdio server for agent access
|
/graphify <path> --mcp # start MCP stdio server for agent access
|
||||||
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
||||||
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
||||||
@@ -477,9 +479,9 @@ graphify export html # auto-aggregates to community view if graph > 5000 nodes
|
|||||||
# or: graphify export html --no-viz
|
# or: graphify export html --no-viz
|
||||||
```
|
```
|
||||||
|
|
||||||
### Steps 6b-8 - Wiki, Neo4j, SVG, GraphML, MCP, benchmark (only on their flags)
|
### Steps 6b-8 - Wiki, Neo4j, FalkorDB, SVG, GraphML, MCP, benchmark (only on their flags)
|
||||||
|
|
||||||
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--falkordb`/`--falkordb-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ Turn any folder of files into a navigable knowledge graph with community detecti
|
|||||||
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
||||||
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
||||||
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
||||||
|
/graphify <path> --falkordb # generate graphify-out/cypher.txt for FalkorDB
|
||||||
|
/graphify <path> --falkordb-push falkordb://localhost:6379 # push directly to FalkorDB
|
||||||
/graphify <path> --mcp # start MCP stdio server for agent access
|
/graphify <path> --mcp # start MCP stdio server for agent access
|
||||||
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
||||||
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
||||||
@@ -477,9 +479,9 @@ graphify export html # auto-aggregates to community view if graph > 5000 nodes
|
|||||||
# or: graphify export html --no-viz
|
# or: graphify export html --no-viz
|
||||||
```
|
```
|
||||||
|
|
||||||
### Steps 6b-8 - Wiki, Neo4j, SVG, GraphML, MCP, benchmark (only on their flags)
|
### Steps 6b-8 - Wiki, Neo4j, FalkorDB, SVG, GraphML, MCP, benchmark (only on their flags)
|
||||||
|
|
||||||
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--falkordb`/`--falkordb-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ Turn any folder of files into a navigable knowledge graph with community detecti
|
|||||||
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
||||||
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
||||||
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
||||||
|
/graphify <path> --falkordb # generate graphify-out/cypher.txt for FalkorDB
|
||||||
|
/graphify <path> --falkordb-push falkordb://localhost:6379 # push directly to FalkorDB
|
||||||
/graphify <path> --mcp # start MCP stdio server for agent access
|
/graphify <path> --mcp # start MCP stdio server for agent access
|
||||||
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
||||||
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
||||||
@@ -469,9 +471,9 @@ graphify export html # auto-aggregates to community view if graph > 5000 nodes
|
|||||||
# or: graphify export html --no-viz
|
# or: graphify export html --no-viz
|
||||||
```
|
```
|
||||||
|
|
||||||
### Steps 6b-8 - Wiki, Neo4j, SVG, GraphML, MCP, benchmark (only on their flags)
|
### Steps 6b-8 - Wiki, Neo4j, FalkorDB, SVG, GraphML, MCP, benchmark (only on their flags)
|
||||||
|
|
||||||
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--falkordb`/`--falkordb-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ Turn any folder of files into a navigable knowledge graph with community detecti
|
|||||||
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
||||||
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
||||||
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
||||||
|
/graphify <path> --falkordb # generate graphify-out/cypher.txt for FalkorDB
|
||||||
|
/graphify <path> --falkordb-push falkordb://localhost:6379 # push directly to FalkorDB
|
||||||
/graphify <path> --mcp # start MCP stdio server for agent access
|
/graphify <path> --mcp # start MCP stdio server for agent access
|
||||||
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
||||||
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
||||||
@@ -477,9 +479,9 @@ graphify export html # auto-aggregates to community view if graph > 5000 nodes
|
|||||||
# or: graphify export html --no-viz
|
# or: graphify export html --no-viz
|
||||||
```
|
```
|
||||||
|
|
||||||
### Steps 6b-8 - Wiki, Neo4j, SVG, GraphML, MCP, benchmark (only on their flags)
|
### Steps 6b-8 - Wiki, Neo4j, FalkorDB, SVG, GraphML, MCP, benchmark (only on their flags)
|
||||||
|
|
||||||
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--falkordb`/`--falkordb-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ Turn any folder of files into a navigable knowledge graph with community detecti
|
|||||||
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
||||||
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
||||||
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
||||||
|
/graphify <path> --falkordb # generate graphify-out/cypher.txt for FalkorDB
|
||||||
|
/graphify <path> --falkordb-push falkordb://localhost:6379 # push directly to FalkorDB
|
||||||
/graphify <path> --mcp # start MCP stdio server for agent access
|
/graphify <path> --mcp # start MCP stdio server for agent access
|
||||||
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
||||||
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
||||||
@@ -475,9 +477,9 @@ graphify export html # auto-aggregates to community view if graph > 5000 nodes
|
|||||||
# or: graphify export html --no-viz
|
# or: graphify export html --no-viz
|
||||||
```
|
```
|
||||||
|
|
||||||
### Steps 6b-8 - Wiki, Neo4j, SVG, GraphML, MCP, benchmark (only on their flags)
|
### Steps 6b-8 - Wiki, Neo4j, FalkorDB, SVG, GraphML, MCP, benchmark (only on their flags)
|
||||||
|
|
||||||
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--falkordb`/`--falkordb-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ Turn any folder of files into a navigable knowledge graph with community detecti
|
|||||||
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
||||||
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
||||||
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
||||||
|
/graphify <path> --falkordb # generate graphify-out/cypher.txt for FalkorDB
|
||||||
|
/graphify <path> --falkordb-push falkordb://localhost:6379 # push directly to FalkorDB
|
||||||
/graphify <path> --mcp # start MCP stdio server for agent access
|
/graphify <path> --mcp # start MCP stdio server for agent access
|
||||||
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
||||||
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
||||||
@@ -473,9 +475,9 @@ graphify export html # auto-aggregates to community view if graph > 5000 nodes
|
|||||||
# or: graphify export html --no-viz
|
# or: graphify export html --no-viz
|
||||||
```
|
```
|
||||||
|
|
||||||
### Steps 6b-8 - Wiki, Neo4j, SVG, GraphML, MCP, benchmark (only on their flags)
|
### Steps 6b-8 - Wiki, Neo4j, FalkorDB, SVG, GraphML, MCP, benchmark (only on their flags)
|
||||||
|
|
||||||
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--falkordb`/`--falkordb-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ Turn any folder of files into a navigable knowledge graph with community detecti
|
|||||||
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
||||||
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
||||||
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
||||||
|
/graphify <path> --falkordb # generate graphify-out/cypher.txt for FalkorDB
|
||||||
|
/graphify <path> --falkordb-push falkordb://localhost:6379 # push directly to FalkorDB
|
||||||
/graphify <path> --mcp # start MCP stdio server for agent access
|
/graphify <path> --mcp # start MCP stdio server for agent access
|
||||||
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
||||||
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
||||||
@@ -499,9 +501,9 @@ graphify export html # auto-aggregates to community view if graph > 5000 nodes
|
|||||||
# or: graphify export html --no-viz
|
# or: graphify export html --no-viz
|
||||||
```
|
```
|
||||||
|
|
||||||
### Steps 6b-8 - Wiki, Neo4j, SVG, GraphML, MCP, benchmark (only on their flags)
|
### Steps 6b-8 - Wiki, Neo4j, FalkorDB, SVG, GraphML, MCP, benchmark (only on their flags)
|
||||||
|
|
||||||
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--falkordb`/`--falkordb-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -26,6 +26,8 @@ Turn any folder of files into a navigable knowledge graph with community detecti
|
|||||||
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
||||||
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
||||||
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
||||||
|
/graphify <path> --falkordb # generate graphify-out/cypher.txt for FalkorDB
|
||||||
|
/graphify <path> --falkordb-push falkordb://localhost:6379 # push directly to FalkorDB
|
||||||
/graphify <path> --mcp # start MCP stdio server for agent access
|
/graphify <path> --mcp # start MCP stdio server for agent access
|
||||||
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
||||||
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
||||||
@@ -477,9 +479,9 @@ graphify export html # auto-aggregates to community view if graph > 5000 nodes
|
|||||||
# or: graphify export html --no-viz
|
# or: graphify export html --no-viz
|
||||||
```
|
```
|
||||||
|
|
||||||
### Steps 6b-8 - Wiki, Neo4j, SVG, GraphML, MCP, benchmark (only on their flags)
|
### Steps 6b-8 - Wiki, Neo4j, FalkorDB, SVG, GraphML, MCP, benchmark (only on their flags)
|
||||||
|
|
||||||
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--falkordb`/`--falkordb-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# graphify reference: extra exports and benchmark
|
# graphify reference: extra exports and benchmark
|
||||||
|
|
||||||
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--falkordb`, `--falkordb-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
||||||
|
|
||||||
### Step 6b - Wiki (only if --wiki flag)
|
### Step 6b - Wiki (only if --wiki flag)
|
||||||
|
|
||||||
@@ -28,6 +28,22 @@ graphify export neo4j --push bolt://localhost:7687 --user neo4j --password PASSW
|
|||||||
|
|
||||||
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
|
### Step 7a - FalkorDB export (only if --falkordb or --falkordb-push flag)
|
||||||
|
|
||||||
|
**If `--falkordb`** - generate a Cypher file. The statements are OpenCypher, but FalkorDB's `GRAPH.QUERY` runs one statement at a time (no bulk script import like Neo4j's `cypher-shell`), so prefer `--falkordb-push` to load a graph. Use this only when you want the portable `cypher.txt` artifact:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb
|
||||||
|
```
|
||||||
|
|
||||||
|
**If `--falkordb-push <uri>`** - push directly to a running FalkorDB instance. Credentials are optional; ask the user only if the instance requires auth:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb --push falkordb://localhost:6379
|
||||||
|
```
|
||||||
|
|
||||||
|
Default URI is `falkordb://localhost:6379` (the scheme is informational - `redis://` or a bare `host:port` work too), auth is optional, and the target graph defaults to `graphify`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
### Step 7b - SVG export (only if --svg flag)
|
### Step 7b - SVG export (only if --svg flag)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# graphify reference: extra exports and benchmark
|
# graphify reference: extra exports and benchmark
|
||||||
|
|
||||||
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--falkordb`, `--falkordb-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
||||||
|
|
||||||
### Step 6b - Wiki (only if --wiki flag)
|
### Step 6b - Wiki (only if --wiki flag)
|
||||||
|
|
||||||
@@ -28,6 +28,22 @@ graphify export neo4j --push bolt://localhost:7687 --user neo4j --password PASSW
|
|||||||
|
|
||||||
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
|
### Step 7a - FalkorDB export (only if --falkordb or --falkordb-push flag)
|
||||||
|
|
||||||
|
**If `--falkordb`** - generate a Cypher file. The statements are OpenCypher, but FalkorDB's `GRAPH.QUERY` runs one statement at a time (no bulk script import like Neo4j's `cypher-shell`), so prefer `--falkordb-push` to load a graph. Use this only when you want the portable `cypher.txt` artifact:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb
|
||||||
|
```
|
||||||
|
|
||||||
|
**If `--falkordb-push <uri>`** - push directly to a running FalkorDB instance. Credentials are optional; ask the user only if the instance requires auth:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb --push falkordb://localhost:6379
|
||||||
|
```
|
||||||
|
|
||||||
|
Default URI is `falkordb://localhost:6379` (the scheme is informational - `redis://` or a bare `host:port` work too), auth is optional, and the target graph defaults to `graphify`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
### Step 7b - SVG export (only if --svg flag)
|
### Step 7b - SVG export (only if --svg flag)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# graphify reference: extra exports and benchmark
|
# graphify reference: extra exports and benchmark
|
||||||
|
|
||||||
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--falkordb`, `--falkordb-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
||||||
|
|
||||||
### Step 6b - Wiki (only if --wiki flag)
|
### Step 6b - Wiki (only if --wiki flag)
|
||||||
|
|
||||||
@@ -28,6 +28,22 @@ graphify export neo4j --push bolt://localhost:7687 --user neo4j --password PASSW
|
|||||||
|
|
||||||
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
|
### Step 7a - FalkorDB export (only if --falkordb or --falkordb-push flag)
|
||||||
|
|
||||||
|
**If `--falkordb`** - generate a Cypher file. The statements are OpenCypher, but FalkorDB's `GRAPH.QUERY` runs one statement at a time (no bulk script import like Neo4j's `cypher-shell`), so prefer `--falkordb-push` to load a graph. Use this only when you want the portable `cypher.txt` artifact:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb
|
||||||
|
```
|
||||||
|
|
||||||
|
**If `--falkordb-push <uri>`** - push directly to a running FalkorDB instance. Credentials are optional; ask the user only if the instance requires auth:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb --push falkordb://localhost:6379
|
||||||
|
```
|
||||||
|
|
||||||
|
Default URI is `falkordb://localhost:6379` (the scheme is informational - `redis://` or a bare `host:port` work too), auth is optional, and the target graph defaults to `graphify`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
### Step 7b - SVG export (only if --svg flag)
|
### Step 7b - SVG export (only if --svg flag)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# graphify reference: extra exports and benchmark
|
# graphify reference: extra exports and benchmark
|
||||||
|
|
||||||
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--falkordb`, `--falkordb-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
||||||
|
|
||||||
### Step 6b - Wiki (only if --wiki flag)
|
### Step 6b - Wiki (only if --wiki flag)
|
||||||
|
|
||||||
@@ -28,6 +28,22 @@ graphify export neo4j --push bolt://localhost:7687 --user neo4j --password PASSW
|
|||||||
|
|
||||||
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
|
### Step 7a - FalkorDB export (only if --falkordb or --falkordb-push flag)
|
||||||
|
|
||||||
|
**If `--falkordb`** - generate a Cypher file. The statements are OpenCypher, but FalkorDB's `GRAPH.QUERY` runs one statement at a time (no bulk script import like Neo4j's `cypher-shell`), so prefer `--falkordb-push` to load a graph. Use this only when you want the portable `cypher.txt` artifact:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb
|
||||||
|
```
|
||||||
|
|
||||||
|
**If `--falkordb-push <uri>`** - push directly to a running FalkorDB instance. Credentials are optional; ask the user only if the instance requires auth:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb --push falkordb://localhost:6379
|
||||||
|
```
|
||||||
|
|
||||||
|
Default URI is `falkordb://localhost:6379` (the scheme is informational - `redis://` or a bare `host:port` work too), auth is optional, and the target graph defaults to `graphify`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
### Step 7b - SVG export (only if --svg flag)
|
### Step 7b - SVG export (only if --svg flag)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# graphify reference: extra exports and benchmark
|
# graphify reference: extra exports and benchmark
|
||||||
|
|
||||||
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--falkordb`, `--falkordb-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
||||||
|
|
||||||
### Step 6b - Wiki (only if --wiki flag)
|
### Step 6b - Wiki (only if --wiki flag)
|
||||||
|
|
||||||
@@ -28,6 +28,22 @@ graphify export neo4j --push bolt://localhost:7687 --user neo4j --password PASSW
|
|||||||
|
|
||||||
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
|
### Step 7a - FalkorDB export (only if --falkordb or --falkordb-push flag)
|
||||||
|
|
||||||
|
**If `--falkordb`** - generate a Cypher file. The statements are OpenCypher, but FalkorDB's `GRAPH.QUERY` runs one statement at a time (no bulk script import like Neo4j's `cypher-shell`), so prefer `--falkordb-push` to load a graph. Use this only when you want the portable `cypher.txt` artifact:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb
|
||||||
|
```
|
||||||
|
|
||||||
|
**If `--falkordb-push <uri>`** - push directly to a running FalkorDB instance. Credentials are optional; ask the user only if the instance requires auth:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb --push falkordb://localhost:6379
|
||||||
|
```
|
||||||
|
|
||||||
|
Default URI is `falkordb://localhost:6379` (the scheme is informational - `redis://` or a bare `host:port` work too), auth is optional, and the target graph defaults to `graphify`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
### Step 7b - SVG export (only if --svg flag)
|
### Step 7b - SVG export (only if --svg flag)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# graphify reference: extra exports and benchmark
|
# graphify reference: extra exports and benchmark
|
||||||
|
|
||||||
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--falkordb`, `--falkordb-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
||||||
|
|
||||||
### Step 6b - Wiki (only if --wiki flag)
|
### Step 6b - Wiki (only if --wiki flag)
|
||||||
|
|
||||||
@@ -28,6 +28,22 @@ graphify export neo4j --push bolt://localhost:7687 --user neo4j --password PASSW
|
|||||||
|
|
||||||
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
|
### Step 7a - FalkorDB export (only if --falkordb or --falkordb-push flag)
|
||||||
|
|
||||||
|
**If `--falkordb`** - generate a Cypher file. The statements are OpenCypher, but FalkorDB's `GRAPH.QUERY` runs one statement at a time (no bulk script import like Neo4j's `cypher-shell`), so prefer `--falkordb-push` to load a graph. Use this only when you want the portable `cypher.txt` artifact:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb
|
||||||
|
```
|
||||||
|
|
||||||
|
**If `--falkordb-push <uri>`** - push directly to a running FalkorDB instance. Credentials are optional; ask the user only if the instance requires auth:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb --push falkordb://localhost:6379
|
||||||
|
```
|
||||||
|
|
||||||
|
Default URI is `falkordb://localhost:6379` (the scheme is informational - `redis://` or a bare `host:port` work too), auth is optional, and the target graph defaults to `graphify`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
### Step 7b - SVG export (only if --svg flag)
|
### Step 7b - SVG export (only if --svg flag)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# graphify reference: extra exports and benchmark
|
# graphify reference: extra exports and benchmark
|
||||||
|
|
||||||
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--falkordb`, `--falkordb-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
||||||
|
|
||||||
### Step 6b - Wiki (only if --wiki flag)
|
### Step 6b - Wiki (only if --wiki flag)
|
||||||
|
|
||||||
@@ -28,6 +28,22 @@ graphify export neo4j --push bolt://localhost:7687 --user neo4j --password PASSW
|
|||||||
|
|
||||||
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
|
### Step 7a - FalkorDB export (only if --falkordb or --falkordb-push flag)
|
||||||
|
|
||||||
|
**If `--falkordb`** - generate a Cypher file. The statements are OpenCypher, but FalkorDB's `GRAPH.QUERY` runs one statement at a time (no bulk script import like Neo4j's `cypher-shell`), so prefer `--falkordb-push` to load a graph. Use this only when you want the portable `cypher.txt` artifact:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb
|
||||||
|
```
|
||||||
|
|
||||||
|
**If `--falkordb-push <uri>`** - push directly to a running FalkorDB instance. Credentials are optional; ask the user only if the instance requires auth:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb --push falkordb://localhost:6379
|
||||||
|
```
|
||||||
|
|
||||||
|
Default URI is `falkordb://localhost:6379` (the scheme is informational - `redis://` or a bare `host:port` work too), auth is optional, and the target graph defaults to `graphify`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
### Step 7b - SVG export (only if --svg flag)
|
### Step 7b - SVG export (only if --svg flag)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# graphify reference: extra exports and benchmark
|
# graphify reference: extra exports and benchmark
|
||||||
|
|
||||||
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--falkordb`, `--falkordb-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
||||||
|
|
||||||
### Step 6b - Wiki (only if --wiki flag)
|
### Step 6b - Wiki (only if --wiki flag)
|
||||||
|
|
||||||
@@ -28,6 +28,22 @@ graphify export neo4j --push bolt://localhost:7687 --user neo4j --password PASSW
|
|||||||
|
|
||||||
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
|
### Step 7a - FalkorDB export (only if --falkordb or --falkordb-push flag)
|
||||||
|
|
||||||
|
**If `--falkordb`** - generate a Cypher file. The statements are OpenCypher, but FalkorDB's `GRAPH.QUERY` runs one statement at a time (no bulk script import like Neo4j's `cypher-shell`), so prefer `--falkordb-push` to load a graph. Use this only when you want the portable `cypher.txt` artifact:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb
|
||||||
|
```
|
||||||
|
|
||||||
|
**If `--falkordb-push <uri>`** - push directly to a running FalkorDB instance. Credentials are optional; ask the user only if the instance requires auth:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb --push falkordb://localhost:6379
|
||||||
|
```
|
||||||
|
|
||||||
|
Default URI is `falkordb://localhost:6379` (the scheme is informational - `redis://` or a bare `host:port` work too), auth is optional, and the target graph defaults to `graphify`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
### Step 7b - SVG export (only if --svg flag)
|
### Step 7b - SVG export (only if --svg flag)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# graphify reference: extra exports and benchmark
|
# graphify reference: extra exports and benchmark
|
||||||
|
|
||||||
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--falkordb`, `--falkordb-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
||||||
|
|
||||||
### Step 6b - Wiki (only if --wiki flag)
|
### Step 6b - Wiki (only if --wiki flag)
|
||||||
|
|
||||||
@@ -28,6 +28,22 @@ graphify export neo4j --push bolt://localhost:7687 --user neo4j --password PASSW
|
|||||||
|
|
||||||
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
|
### Step 7a - FalkorDB export (only if --falkordb or --falkordb-push flag)
|
||||||
|
|
||||||
|
**If `--falkordb`** - generate a Cypher file. The statements are OpenCypher, but FalkorDB's `GRAPH.QUERY` runs one statement at a time (no bulk script import like Neo4j's `cypher-shell`), so prefer `--falkordb-push` to load a graph. Use this only when you want the portable `cypher.txt` artifact:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb
|
||||||
|
```
|
||||||
|
|
||||||
|
**If `--falkordb-push <uri>`** - push directly to a running FalkorDB instance. Credentials are optional; ask the user only if the instance requires auth:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb --push falkordb://localhost:6379
|
||||||
|
```
|
||||||
|
|
||||||
|
Default URI is `falkordb://localhost:6379` (the scheme is informational - `redis://` or a bare `host:port` work too), auth is optional, and the target graph defaults to `graphify`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
### Step 7b - SVG export (only if --svg flag)
|
### Step 7b - SVG export (only if --svg flag)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# graphify reference: extra exports and benchmark
|
# graphify reference: extra exports and benchmark
|
||||||
|
|
||||||
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--falkordb`, `--falkordb-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
||||||
|
|
||||||
### Step 6b - Wiki (only if --wiki flag)
|
### Step 6b - Wiki (only if --wiki flag)
|
||||||
|
|
||||||
@@ -28,6 +28,22 @@ graphify export neo4j --push bolt://localhost:7687 --user neo4j --password PASSW
|
|||||||
|
|
||||||
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
|
### Step 7a - FalkorDB export (only if --falkordb or --falkordb-push flag)
|
||||||
|
|
||||||
|
**If `--falkordb`** - generate a Cypher file. The statements are OpenCypher, but FalkorDB's `GRAPH.QUERY` runs one statement at a time (no bulk script import like Neo4j's `cypher-shell`), so prefer `--falkordb-push` to load a graph. Use this only when you want the portable `cypher.txt` artifact:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb
|
||||||
|
```
|
||||||
|
|
||||||
|
**If `--falkordb-push <uri>`** - push directly to a running FalkorDB instance. Credentials are optional; ask the user only if the instance requires auth:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb --push falkordb://localhost:6379
|
||||||
|
```
|
||||||
|
|
||||||
|
Default URI is `falkordb://localhost:6379` (the scheme is informational - `redis://` or a bare `host:port` work too), auth is optional, and the target graph defaults to `graphify`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
### Step 7b - SVG export (only if --svg flag)
|
### Step 7b - SVG export (only if --svg flag)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# graphify reference: extra exports and benchmark
|
# graphify reference: extra exports and benchmark
|
||||||
|
|
||||||
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--falkordb`, `--falkordb-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
||||||
|
|
||||||
### Step 6b - Wiki (only if --wiki flag)
|
### Step 6b - Wiki (only if --wiki flag)
|
||||||
|
|
||||||
@@ -28,6 +28,22 @@ graphify export neo4j --push bolt://localhost:7687 --user neo4j --password PASSW
|
|||||||
|
|
||||||
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
|
### Step 7a - FalkorDB export (only if --falkordb or --falkordb-push flag)
|
||||||
|
|
||||||
|
**If `--falkordb`** - generate a Cypher file. The statements are OpenCypher, but FalkorDB's `GRAPH.QUERY` runs one statement at a time (no bulk script import like Neo4j's `cypher-shell`), so prefer `--falkordb-push` to load a graph. Use this only when you want the portable `cypher.txt` artifact:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb
|
||||||
|
```
|
||||||
|
|
||||||
|
**If `--falkordb-push <uri>`** - push directly to a running FalkorDB instance. Credentials are optional; ask the user only if the instance requires auth:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb --push falkordb://localhost:6379
|
||||||
|
```
|
||||||
|
|
||||||
|
Default URI is `falkordb://localhost:6379` (the scheme is informational - `redis://` or a bare `host:port` work too), auth is optional, and the target graph defaults to `graphify`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
### Step 7b - SVG export (only if --svg flag)
|
### Step 7b - SVG export (only if --svg flag)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# graphify reference: extra exports and benchmark
|
# graphify reference: extra exports and benchmark
|
||||||
|
|
||||||
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--falkordb`, `--falkordb-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
||||||
|
|
||||||
### Step 6b - Wiki (only if --wiki flag)
|
### Step 6b - Wiki (only if --wiki flag)
|
||||||
|
|
||||||
@@ -28,6 +28,22 @@ graphify export neo4j --push bolt://localhost:7687 --user neo4j --password PASSW
|
|||||||
|
|
||||||
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
|
### Step 7a - FalkorDB export (only if --falkordb or --falkordb-push flag)
|
||||||
|
|
||||||
|
**If `--falkordb`** - generate a Cypher file. The statements are OpenCypher, but FalkorDB's `GRAPH.QUERY` runs one statement at a time (no bulk script import like Neo4j's `cypher-shell`), so prefer `--falkordb-push` to load a graph. Use this only when you want the portable `cypher.txt` artifact:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb
|
||||||
|
```
|
||||||
|
|
||||||
|
**If `--falkordb-push <uri>`** - push directly to a running FalkorDB instance. Credentials are optional; ask the user only if the instance requires auth:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb --push falkordb://localhost:6379
|
||||||
|
```
|
||||||
|
|
||||||
|
Default URI is `falkordb://localhost:6379` (the scheme is informational - `redis://` or a bare `host:port` work too), auth is optional, and the target graph defaults to `graphify`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
### Step 7b - SVG export (only if --svg flag)
|
### Step 7b - SVG export (only if --svg flag)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# graphify reference: extra exports and benchmark
|
# graphify reference: extra exports and benchmark
|
||||||
|
|
||||||
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--falkordb`, `--falkordb-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
||||||
|
|
||||||
### Step 6b - Wiki (only if --wiki flag)
|
### Step 6b - Wiki (only if --wiki flag)
|
||||||
|
|
||||||
@@ -28,6 +28,22 @@ graphify export neo4j --push bolt://localhost:7687 --user neo4j --password PASSW
|
|||||||
|
|
||||||
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
|
### Step 7a - FalkorDB export (only if --falkordb or --falkordb-push flag)
|
||||||
|
|
||||||
|
**If `--falkordb`** - generate a Cypher file. The statements are OpenCypher, but FalkorDB's `GRAPH.QUERY` runs one statement at a time (no bulk script import like Neo4j's `cypher-shell`), so prefer `--falkordb-push` to load a graph. Use this only when you want the portable `cypher.txt` artifact:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb
|
||||||
|
```
|
||||||
|
|
||||||
|
**If `--falkordb-push <uri>`** - push directly to a running FalkorDB instance. Credentials are optional; ask the user only if the instance requires auth:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb --push falkordb://localhost:6379
|
||||||
|
```
|
||||||
|
|
||||||
|
Default URI is `falkordb://localhost:6379` (the scheme is informational - `redis://` or a bare `host:port` work too), auth is optional, and the target graph defaults to `graphify`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
### Step 7b - SVG export (only if --svg flag)
|
### Step 7b - SVG export (only if --svg flag)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -23,6 +23,8 @@ Turn any folder of files into a navigable knowledge graph with community detecti
|
|||||||
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
/graphify <path> --graphml # export graph.graphml (Gephi, yEd)
|
||||||
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
/graphify <path> --neo4j # generate graphify-out/cypher.txt for Neo4j
|
||||||
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
/graphify <path> --neo4j-push bolt://localhost:7687 # push directly to Neo4j
|
||||||
|
/graphify <path> --falkordb # generate graphify-out/cypher.txt for FalkorDB
|
||||||
|
/graphify <path> --falkordb-push falkordb://localhost:6379 # push directly to FalkorDB
|
||||||
/graphify <path> --mcp # start MCP stdio server for agent access
|
/graphify <path> --mcp # start MCP stdio server for agent access
|
||||||
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
/graphify <path> --watch # watch folder, auto-rebuild on code changes (no LLM needed)
|
||||||
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
/graphify <path> --wiki # build agent-crawlable wiki (index.md + one article per community)
|
||||||
@@ -412,9 +414,9 @@ graphify export html # auto-aggregates to community view if graph > 5000 nodes
|
|||||||
# or: graphify export html --no-viz
|
# or: graphify export html --no-viz
|
||||||
```
|
```
|
||||||
|
|
||||||
### Steps 6b-8 - Wiki, Neo4j, SVG, GraphML, MCP, benchmark (only on their flags)
|
### Steps 6b-8 - Wiki, Neo4j, FalkorDB, SVG, GraphML, MCP, benchmark (only on their flags)
|
||||||
|
|
||||||
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
These run only when their flag is present (`--wiki`, `--neo4j`/`--neo4j-push`, `--falkordb`/`--falkordb-push`, `--svg`, `--graphml`, `--mcp`) or, for the token-reduction benchmark, when `total_words` exceeds 5,000. A default run with no export flags skips all of them. See `references/exports.md` for each one. Run any `--wiki` export before Step 9 cleanup so `.graphify_labels.json` is still available.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
# graphify reference: extra exports and benchmark
|
# graphify reference: extra exports and benchmark
|
||||||
|
|
||||||
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
Load this when the user passed one of the export flags (`--wiki`, `--neo4j`, `--neo4j-push`, `--falkordb`, `--falkordb-push`, `--svg`, `--graphml`, `--mcp`), or when the corpus is large enough for the token-reduction benchmark. Each step runs only for its own flag.
|
||||||
|
|
||||||
### Step 6b - Wiki (only if --wiki flag)
|
### Step 6b - Wiki (only if --wiki flag)
|
||||||
|
|
||||||
@@ -28,6 +28,22 @@ graphify export neo4j --push bolt://localhost:7687 --user neo4j --password PASSW
|
|||||||
|
|
||||||
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
Default URI is `bolt://localhost:7687`, default user is `neo4j`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
|
### Step 7a - FalkorDB export (only if --falkordb or --falkordb-push flag)
|
||||||
|
|
||||||
|
**If `--falkordb`** - generate a Cypher file. The statements are OpenCypher, but FalkorDB's `GRAPH.QUERY` runs one statement at a time (no bulk script import like Neo4j's `cypher-shell`), so prefer `--falkordb-push` to load a graph. Use this only when you want the portable `cypher.txt` artifact:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb
|
||||||
|
```
|
||||||
|
|
||||||
|
**If `--falkordb-push <uri>`** - push directly to a running FalkorDB instance. Credentials are optional; ask the user only if the instance requires auth:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
graphify export falkordb --push falkordb://localhost:6379
|
||||||
|
```
|
||||||
|
|
||||||
|
Default URI is `falkordb://localhost:6379` (the scheme is informational - `redis://` or a bare `host:port` work too), auth is optional, and the target graph defaults to `graphify`. Uses MERGE - safe to re-run without creating duplicates.
|
||||||
|
|
||||||
### Step 7b - SVG export (only if --svg flag)
|
### Step 7b - SVG export (only if --svg flag)
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
Reference in New Issue
Block a user