UNPKG

@lumina-study/blocks-graph

Version:

Framework-agnostic Web Component for visualizing Lumina Study block schemas

5 lines 521 B
import type { BlockGraph } from '../types/block-graph.js'; import type { BlockPosition } from '../types/block-position.js'; import type { GraphLayoutConfig } from './graph-layout-config.js'; export declare function calculateParentCenteredPositions(graph: BlockGraph, blocksByLevel: Map<number, string[]>, levelOffsets: Map<number, number>, isVertical: boolean, isReversed: boolean, maxLevel: number, config: GraphLayoutConfig): Map<string, BlockPosition>; //# sourceMappingURL=calculate-parent-centered-positions.d.ts.map