Renders an interactive hierarchical tree diagram using the Treant.js library, with context-menu node editing, add, connect, and delete operations.
JSTREE2 — set as ReportType in def_report.
def Render(self, Param1="", Param2="", Param3="") -> str:
The query returns parent-child pairs (col 0 = parent name, col 1 = child name, plus optional filter and action data in cols 2–5). The first item in col 0 is used as the root node. Nodes are rendered west-to-east with step connectors. Node hover menus allow editing, adding child nodes, and deleting. Connector colour is controlled by self._Colour (defaults to #ccc).
CreateTreeTEMP(N, key, value, firstNode, totItems, nodelevel)Recursively builds the Treant.js nodeStructure JavaScript object literal.
getFilterClause(nme)Extracts the filter clause string from data col 2 for a given node name.
getActionClause(nme, nm)Extracts action-related data from the specified column index for a given node name.
Requires Treant.js, Raphael.js, and perfect-scrollbar from treant-js-master/. Node edit/add actions call formmodal targeting editN_com_strategy_parameters, editMid_com_strategy_parameters, and add_com_strategy_parameters forms.