Files
prowler/ui/lib/attack-paths/index.ts
T

38 lines
975 B
TypeScript

export { exportGraphAsJSON, exportGraphAsPNG } from "@/lib/attack-paths/export";
export {
formatNodeLabel,
formatNodeLabels,
truncateLabel,
} from "@/lib/attack-paths/format";
export {
getNodeBorderColor,
getNodeColor,
GRAPH_ALERT_BORDER_COLOR,
GRAPH_COUNT_BADGE_STROKE_COLOR,
GRAPH_EDGE_COLOR_DARK,
GRAPH_EDGE_COLOR_LIGHT,
GRAPH_EDGE_HIGHLIGHT_COLOR,
GRAPH_NODE_BORDER_COLORS,
GRAPH_NODE_COLORS,
GRAPH_OUTCOME_BORDER_COLOR,
GRAPH_OUTCOME_FILL_COLOR,
GRAPH_SELECTION_COLOR,
resolveNodeColors,
} from "@/lib/attack-paths/graph-colors";
export {
computeFilteredSubgraph,
getPathEdges,
resolveHiddenFindingIds,
} from "@/lib/attack-paths/graph-utils";
export { layoutWithDagre } from "@/lib/attack-paths/layout";
export {
isProwlerFindingLabel,
isProwlerFindingNode,
} from "@/lib/attack-paths/node-types";
export {
NODE_CATEGORY,
type NodeCategory,
type NodeVisual,
resolveNodeVisual,
} from "@/lib/attack-paths/node-visuals";