[][src]Function nannou::ui::prelude::widget::graph::node::socket_rects

pub fn socket_rects(
    node_id: NodeIndex<u32>,
    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.