This guide shows how to add fNode to the f-canvas using the fExternalItem directive. The directive allows placing elements outside the f-canvas and moving them onto it. It supports features like Preview and Placeholder elements to manage the visual representation during interactions. External items can be dragged onto the f-canvas while preserving predefined parameters using the fData attribute.
[component.html] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-examples/extensions/add-node-from-palette/add-node-from-palette.component.html [component.ts] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-examples/extensions/add-node-from-palette/add-node-from-palette.component.ts [component.scss] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-examples/extensions/add-node-from-palette/add-node-from-palette.component.scss [common.scss] <<< https://raw.githubusercontent.com/Foblex/f-flow/main/projects/f-examples/_flow-common.scss