Selector: [fNodeInput]
The FNodeOutputDirective is a directive that marks an element as an input within a fNode. It manages input-specific behaviours, such as allowing multiple connections, handling disabled state, and determining connectability.
fInputId: string;
The unique identifier for the directive instance. Automatically generated. Default: f-node-input-${uniqueId++}
fInputMultiple: boolean;
Determines whether the input allows multiple connectionsDefault: Default: true
fInputDisabled: boolean;
Indicates whether the input is disabled. A disabled input may have a different visual representation and interaction behavior. Default: false
fInputConnectableSide: EFConnectableSide;
Indicates the side of the output where the connection can be created. Accepts a value from EFConnectableSide enum. Default: EFConnectableSide.AUTO
isConnected: boolean;
Indicates whether the input is connected..f-component
A general class applied to all F components for shared styling.
.f-node-input
Specific class for styling the node input element.
.f-node-input-disabled
Applied when the input is disabled.
.f-node-input-multiple
Applied when the input allows multiple connections.
.f-node-input-not-connectable
Applied when the input is not connectable.
.f-node-input-connected
Applied when the input is connected, indicating an active connection.
<f-flow>
<f-canvas>
<div fNode>
|:|<div fNodeInput></div>|:|
</div>
</f-canvas>
</f-flow>
You can also add fNodeInput directive to the element containing the fNode directive
<f-flow>
<f-canvas>
|:|<div fNode fNodeInput></div>|:|
</f-canvas>
</f-flow>
INFO
The f-connection component takes the border-radius of the component into account when connecting
This example shows how to use the fNodeOutput directive to create a node with an output element that can be connected to an input.
Example of how to use the fOutputConnectableSide and fInputConnectableSide directives to specify the side of the node that can be connected to. Valid values are top, right, bottom, left, and auto from EFConnectableSide enum.