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

pub fn socket_rects(
    node_id: NodeIndex<u32>,
    ui: &Ui
) -> Option<(SocketRects, SocketRects)>
Expand description

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.