dependency-graph-construction
Version:
A powerful tool to construct dependency graphs for JavaScript and TypeScript projects. Useful for project structure analysis and debugging.
21 lines (14 loc) • 431 B
JavaScript
import bundlerConfig from '../bundler.config.json';
export const ARROW_WITH_OPTIONAL_WHITESPACE_REGEX = /\s*->\s*/;
export const TITLE = 'title';
export const ESCAPE = 'Escape';
export const CLASS_NAMES = {
CURRENT: 'current',
CLUSTER: 'cluster',
EDGE: 'edge',
NODE: 'node',
FROM: 'from',
TO: 'to',
};
export const { rootModules, fileNodeColor } = bundlerConfig;
export const BACKSLASH = '/';