@lumina-study/blocks-graph
Version:
Framework-agnostic Web Component for visualizing Lumina Study block schemas
8 lines • 459 B
TypeScript
import type { Block } from '../types/block.js';
import type { GraphEngine } from '../core/graph-engine.js';
import type { GraphRenderer } from '../core/renderer.js';
export declare function renderGraph(blocks: Block[], engine: GraphEngine, renderer: GraphRenderer, selectedBlockId: string | null, selectionLevel: number, orientation?: 'ttb' | 'ltr' | 'rtl' | 'btt'): {
svg: SVGElement;
blockCount: number;
};
//# sourceMappingURL=render-graph.d.ts.map