sicua
Version:
A tool for analyzing project structure and dependencies
27 lines (26 loc) • 740 B
TypeScript
/**
* Get a color for a node based on its type
*/
export declare function getNodeColor(nodeProps: {
isNextRoute?: boolean;
isComponent?: boolean;
routeType?: string;
isDynamicRoute?: boolean;
}): string;
/**
* Get a color for an edge based on its type
*/
export declare function getEdgeColor(type?: "import" | "export" | "dynamic" | "parent-child"): string;
/**
* Get a node size based on its type
*/
export declare function getNodeSize(nodeProps: {
isNextRoute?: boolean;
isComponent?: boolean;
routeType?: string;
isDynamicRoute?: boolean;
}): number;
/**
* Get an edge size based on its type
*/
export declare function getEdgeSize(type?: "import" | "export" | "dynamic" | "parent-child"): number;