Archived
34 lines
1.1 KiB
EmacsLisp
34 lines
1.1 KiB
EmacsLisp
// el-graph — Force-directed graph engine for el-ui.
|
|
//
|
|
// Server-side SVG renderer for knowledge graphs, Engram viewers, DHARMA
|
|
// network maps, and soul relationship graphs.
|
|
//
|
|
// Architecture:
|
|
// layout.el — pure El force simulation (Coulomb repulsion + spring edges)
|
|
// node.el — node type definitions and color mapping
|
|
// edge.el — edge type definitions
|
|
// canvas.el — HTTP endpoint helper (full pipeline in one call)
|
|
// view.el — SVG renderer (layout -> SVG string)
|
|
// editor.el — round-trip mutation API (add/remove/connect/move nodes)
|
|
// serializer.el — export to SVG or JSON
|
|
//
|
|
// Client-side interaction (drag, zoom, pan) is deferred until el-ui-compiler
|
|
// gains a JavaScript backend. For now, consumers call graph_svg_endpoint()
|
|
// which runs the full server-side pipeline and returns a static SVG string.
|
|
|
|
vessel "el-graph" {
|
|
version "0.1.0"
|
|
description "Force-directed graph: layout, SVG rendering, editing API"
|
|
authors ["Will Anderson <will@neurontechnologies.ai>"]
|
|
edition "2026"
|
|
}
|
|
|
|
dependencies {
|
|
el-platform "1.0"
|
|
}
|
|
|
|
build {
|
|
entry "src/main.el"
|
|
output "dist/"
|
|
}
|