What you’ll learnHow to define multiple nodes across categories, understand node types and
visual styles, and connect nodes together.
Expanding the node palette
Adding more nodes follows the same pattern from the previous step. Here’s how to define nodes across different categories:Node types (visual styles)
Thetype field controls how the node renders on the canvas:
A node can support multiple types via
supportedTypes, letting users switch between visual styles from the config panel.
Connecting nodes
Nodes connect through ports — the small circles on the edges of each node:- Output ports (right side) send data out of a node
- Input ports (left side) receive data into a node
dataType field:
FlowDrop validates connections in real-time and only allows compatible port types to connect.
Try it
Build a small workflow in your editor:- Drag Text Input, AI Content Analyzer, and Text Output onto the canvas.
- Connect the
textoutput of Text Input to theContent to Analyzeinput of AI Content Analyzer. - Connect the
analyzed_contentoutput of AI Content Analyzer to theText Inputport of Text Output. - Try adding a Gateway node to see the diamond shape, or a Notes node for sticky-note documentation.
What’s next
You now have a fully functional editor where users can build workflows. In the next step, you’ll learn how to save those workflows and understand the data structure behind them.Tutorial — Step 4 of 5 ← Your first node · Next: Saving workflows →