Web4 authority and provenance
A visitor can trace who asserts authority, what delegates it, and which evidence supports the claim.
data model
GraphOntology does not define ontology. It makes ontology understandable. Layouts place nodes; modes decide which relationships to emphasize; plugins add domain features.
supported graph types
view modes
node shape
{
id,
label,
type,
domain,
description,
status,
tags,
metadata
}edge shape
{
id,
source,
target,
type,
label,
direction,
authorityLevel,
evidence,
metadata
}export formats
plugin architecture
consumer contract
v0.1 demo path
A visitor can trace who asserts authority, what delegates it, and which evidence supports the claim.
A visitor can inspect an agreement relationship without any CanonLink-specific UI living inside the core package.
A visitor can see how value and evidence move through a mission system instead of reading an opaque score.
minimal host contract
A host app owns its graph, theme, permissions, and inspector copy. The reusable package owns rendering, filtering, selection, focus, export, and URL-state primitives.
import { OntologyGraphExplorer, createOntologyGraphTheme } from "@graphontology/ontology-graph-explorer";
const hostContract = {
graph,
theme: createOntologyGraphTheme({ mode: "dark" }),
mode: "authority-chain",
initialFocusId: "authority-registry",
allowedNodeTypes: ["system", "agent", "registry", "legal", "evidence"],
allowedEdgeTypes: ["authority", "delegates", "provenance", "registry"],
inspectorRenderer: undefined,
onSelect: (selection) => console.log(selection),
onExport: (payload) => console.log(payload)
};
export function HostOntologyView() {
return <OntologyGraphExplorer {...hostContract} syncUrlState={false} />;
}package exports
Public explorer routes use URL state by default. Embedded hosts can pass `syncUrlState=` while still using diagnostics, algorithms, adapters, plugins, reports, and exporters from the package root.
import {
OntologyGraphExplorer,
OntologyGraphMiniMap,
OntologyGraphPanel,
ontologyToCytoscapeElements,
cytoscapeElementsToOntology,
createOntologyGraphTheme,
defaultOntologyLayouts,
defaultOntologyStyles,
useOntologyGraphState,
analyzeOntologyGraph,
validateOntologyGraph,
adaptJsonOntology,
adaptJsonLdOntology,
adaptCytoscapeJson,
adaptCsvOntology,
adaptRegistryOntology,
fetchRegistryOntology,
adaptJSOntologySchemas,
adaptCanonLinkRelationships,
adaptValgrafValueGraph,
adaptMissionStackTree,
adaptPipeFlowMap,
defaultOntologyAdapters,
exportOntologyGraph,
createOntologyReport,
renderOntologyReportMarkdown,
renderOntologyReportHtml,
renderOntologyReportPrintHtml,
renderOntologyReportJson,
defaultOntologyPlugins,
createOntologyPluginRegistry,
defaultOntologyPluginPermissions
} from "@graphontology/ontology-graph-explorer";Open package API referencenon-goals