{# _novel_features.html ──────────────────────────────────────────────────────────────────────────── Five novel DataHub-inspired ERD features - self-contained, no new deps. N1 - Schema Health Score : SVG arc rings on ERD nodes + sidebar column N2 - FK Neighbourhood Lens : hop-selector toolbar + BFS lens mode N3 - Auto-Detected Clusters : connected-components + SVG bounding boxes N4 - Column Similarity Heatmap: Levenshtein N×M panel for two selected tables N5 - Query Bookmark Board : kanban overlay, HTML5 DnD, metadata sidecar Include ONCE in erd.html (all five features) and once in query.html (N5 only). browse.html may include the full partial - unused features cost nothing. Depends on: ERD_CONST, erdEsc (from _erd_features_constants.html) SCHEMA, KEY, window.BASE_PATH (globals set by the host page) cy (Cytoscape instance, set by erd.html boot()) #} {# ══════════════════════════════════════════════════════════════════════════ CSS ══════════════════════════════════════════════════════════════════════════ #} {# ══════════════════════════════════════════════════════════════════════════ DOM ══════════════════════════════════════════════════════════════════════════ #} {# N2: Lens toolbar (injected into canvas-wrap by JS, defined here for clarity) #} {# N4: Heatmap panel (absolute inside canvas-wrap) #} {# N5: Board panel (fixed overlay) #}
{# ══════════════════════════════════════════════════════════════════════════ JAVASCRIPT ══════════════════════════════════════════════════════════════════════════ #}