API Reference
nodesSelected() -> List
a list of Nodes which have panels open. The last item in the list is the currently active Node panel.