Skip to main content

DefaultNodeView

Function DefaultNodeView 

Source
pub fn DefaultNodeView<T: Clone + PartialEq + 'static>(
    _: DefaultNodeViewProps<T>,
) -> Element
Expand description

The built-in node view: a simple labeled box. Nodes typed "input" omit the target handle, "output" omits the source handle.

Custom node_view callbacks can delegate to this for node types they don’t handle.

§Props

For details, see the props struct definition.

  • ctx : NodeViewCtx<T>