pub fn is_node_selected(ui: &Ui, graph_id: Id, node_id: NodeId) -> bool
Checks if a node with the given ID is currently selected in the specified graph.