Flowviewer Idea

I am using @flowfuse/node-red-dashboard-2-ui-flowviewer to support documentation of flows.
My question or requirement is - is it possible to get an event out of flowviewer when a single node is clicked in dashboard.
As I can see flowviewer is based on svg and every node is a <g>-Element. The idea is to get a msg from flowviewer with the data-node-id when an element is clicked "click event".
So I can extract and show details from the .json-file for example when I click on a function-node - I want to show the js-sourcecode of this function.

The answer is no, but please feel free you raise a feature request on the repository.

If you feel adventurous, you could probably achieve your need using JavaScript in a ui-template.

thx for your reply, I open a feature request. Your idea with js in a template-node is good, but at the moment I have not yet an idea how to achieve this.

Issue raised here: Get an event when a node is selected · Issue #14 · FlowFuse/node-red-dashboard-2-ui-flowviewer · GitHub