[−][src]Function conrod_core::widget::graph::node_widget_id
pub fn node_widget_id<NI>(node_id: NI, graph_id: Id, ui: &Ui) -> Option<Id> where
NI: NodeId,
Returns the widget::Id
for a node if one exists.
Returns None
if there is no Graph
for the given graph_id
or if there is not yet a
widget::Id
for the given node_id
.
This will always return None
if called between calls to the Graph::set
and node
instantiation stages, as widget::Id
s for nodes are only populated during the node
instantiation stage.