/** * @medicine-wheel/graph-viz — Conversion Utilities * * Convert ontology-core data structures into graph visualization format. */ import type { RelationalNode, RelationalEdge, Relation } from '@medicine-wheel/ontology-core'; import type { MWGraphNode, MWGraphLink, MWGraphData } from './types.js'; /** * Convert RelationalNode[] to MWGraphNode[] */ export declare function nodesToGraphNodes(nodes: RelationalNode[]): MWGraphNode[]; /** * Convert RelationalEdge[] to MWGraphLink[] */ export declare function edgesToGraphLinks(edges: RelationalEdge[]): MWGraphLink[]; /** * Convert first-class Relation[] to MWGraphLink[] */ export declare function relationsToGraphLinks(relations: Relation[]): MWGraphLink[]; /** * Build complete MWGraphData from ontology-core entities. */ export declare function buildGraphData(nodes: RelationalNode[], edges: RelationalEdge[] | Relation[]): MWGraphData; //# sourceMappingURL=converters.d.ts.map