/** * Draw-On-Graph Resolver * * Determines whether a project is DRAWN on the architecture graphs. Every * project is drawn by default; a project opts OUT by carrying the nx tag * `drawOnGraph:false` on its project.json. When hidden, the project (and every * edge touching it) is omitted from the rendered HTML/DOT of BOTH the * dependency graph (architecture/dependencies.html) and the runtime graph — but * the project stays in dependencies.json / runtime-dependencies.json with an * additive `"drawOnGraph": false` field, so the data view remains complete. * * Resolution order: * 1. Explicit nx tag `drawOnGraph:` on the project (project.json * tags). At most one, and the value must be exactly `true` or `false`. * 2. Fallback: `true` (drawn) — the safe default so an untagged project always * appears on the graph. */ import { ProjectInfo } from './project-info'; export declare const DRAW_ON_GRAPH_TAG_PREFIX = "drawOnGraph:"; /** Default when a project carries no `drawOnGraph:` tag — drawn on the graph. */ export declare const DEFAULT_DRAW_ON_GRAPH = true; export declare class DrawOnGraphResolution { /** Resolved flag (true = drawn), or null when resolution failed */ readonly drawOnGraph: boolean | null; /** Problem description when resolution failed, otherwise null */ readonly problem: string | null; constructor( /** Resolved flag (true = drawn), or null when resolution failed */ drawOnGraph: boolean | null, /** Problem description when resolution failed, otherwise null */ problem: string | null); } export declare function resolveDrawOnGraph(info: ProjectInfo): DrawOnGraphResolution;