Renders an Apache ECharts force-layout graph chart for visualising node-link relationships.
ECHARTSGRAPH — set as ReportType in def_report.
def Render(self, Param1="", Param2="", Param3="") -> str:
Inherited from ObjReportEchartsbase. Param1, Param2, and Param3 are forwarded in the RPC payload for SQL token substitution. Returns an HTML string containing a styled panel and an ECharts initialisation script.
Uses the Apache ECharts JS library. The SQL query must return rows with columns source, target, and value. Nodes are derived automatically from the link data; node symbol size is proportional to total link weight (clamped between 20 and 80). The graph is interactive (roam: true) with visible labels. Option building is handled by ObjReportEchartsbase._build_graph_like_option.