Repository navigation
ontomark-graph 0.3.0
Shared offline graph for Ontomark Obsidian, Narrative Goldmine and the Vellum editor for VS Code.
Adds a host-side layout driver at @dreamlab-ai/ontomark-graph/layout. The renderer draws positions and never computes them; the driver runs a layout engine the host supplies in time-boxed slices and reports each snapshot in setPositions order. vowlEngine adapts the force simulation in @dreamlab-ai/vowl-wasm (0.2.0 or later to lay out, 0.2.2 or later to pin a dragged node), which is not a dependency of this package. The driver performs no I/O and starts no worker.
Renderer changes are additive and leave 0.2.0 behaviour unchanged by default: ariaLabel for hosts whose graph is not an ontology, preservePositions on setGraph so an update does not reseed every node, and an explicit node shape.
Verified with 29 library tests, including the driver against the released vowl-wasm 0.2.3 bundle, and a Chrome run of the mounted renderer with the driver under Vellum's webview content security policy. Not verified: installed Obsidian, the Narrative Goldmine explorer suite, and layout cost on large graphs. The tarball is an immutable dependency asset; consumers keep npm integrity pins. Source: packages/graph at this tag.