👋 Welcome to HudHudScript Visual Editor
This is a Blueprint-style visual programming tool for HudHudScript , the multi-lingual AI agent programming language. You can build programs by connecting nodes visually.
🖱 Adding & Navigating Nodes
Right-click on the canvas to open the node search menu. Type to filter, click to add. Drag nodes from the left palette too.
Mouse controls:
• Scroll wheel , zoom in / out
• Middle-click drag or Alt + left-click drag , pan the canvas
• Left-click drag on empty space , selection box
🔗 Connecting Nodes
Drag from an output port (right side) to an input port (left side) to create a connection. Ports are color-coded by type , only compatible types can connect. Click a wire to delete it.
🌍 Multi-Language Output
Select a language from the toolbar dropdown. Node keywords and generated code will update to use that language's HudHudScript syntax. RTL languages use right-to-left layout automatically.
⚡ Generating Code
Click ▶ Generate to produce HudHudScript source code from your graph. Then use ✓ Check Syntax, ⚙ Compile, or ▶ Run to execute it. Hover over buttons to see the exact CLI command used.
🏛 Governance Nodes
HudHudScript has built-in governance: Constitution → Law → Council → Role. Connect them to build a governance hierarchy. The Constitution node contains Laws and Councils; Councils contain Roles and Strategies.
🎉 You're Ready!
Try loading an example from the Examples dropdown in the toolbar. Use ⚙ Layout to auto-arrange nodes. Press Ctrl+S to save your work. Have fun building!