UNPKG

archunit

Version:

ArchUnit TypeScript is an architecture testing library, to specify and assert architecture rules in your TypeScript app

11 lines (10 loc) 313 B
import { Edge } from '../extraction/graph'; export type ProjectedNode = { label: string; incoming: Edge[]; outgoing: Edge[]; }; export interface ProjectionOptions { includeExternals?: boolean; } export declare const projectToNodes: (graph: Edge[], options?: ProjectionOptions) => ProjectedNode[];