onHighlightNode method
Implementation
void onHighlightNode(int? id, Map<String, dynamic> params) {
_highlightElement?.debugHideHighlight();
int nodeId = params['nodeId'];
Element? element = elementManager.getEventTargetByTargetId<Element>(nodeId);
if (element != null) {
element.debugHighlight();
_highlightElement = element;
}
sendToFrontend(id, null);
}