GenerateGraphHtmlTask
Generates interactive HTML visualizations of Metro dependency graphs using ECharts.
The generated HTML files are self-contained and can be opened directly in a browser. They use Apache ECharts for beautiful, interactive graph visualization with the following features:
Force-directed layout: Automatic node positioning with physics simulation
Interactive: Drag nodes, zoom, pan, hover tooltips
Search & filter: Find bindings by name, filter by type
Focus mode: Click a node to highlight its connections
Legend: Color-coded by binding kind with toggle visibility
Responsive: Adapts to window size
Beautiful defaults: Gradient backgrounds, smooth animations, professional styling
One HTML file is generated per dependency graph, plus an index page.
Properties
Analysis report JSON file from AnalyzeGraphTask. Analysis metrics (fan-in/out, centrality, dominator count) are included in the visualization.
The output directory for HTML files (one per graph).