[][src]Function conrod_core::widget::graph::node::socket_rects

pub fn socket_rects(node_id: Id, ui: &Ui) -> Option<(SocketRects, SocketRects)>

Produces an iterator yielding a Rect for each socket for both inputs and outputs respectively.

Returns None if no node is found for the given widget::Id.