Composite Nodes

Navigation:  Widget Designer > Nodes >

Composite Nodes

prev main next

Navigation:  Widget Designer > Nodes >

Composite Nodes

prev main next

Please wait. Due to its content this page might take a while to load...

The Composite node offers you the possibility to create your own sophisticated node structure and bundle it up to one compact, reusable node.

It allows you to arrange your entire node system much more clearly and to integrate larger structures easier and faster.

wd_composite-node
To construct a new Composite node, open the Nodes menu, select Composite Nodes and click on "New Composite Node...". If you have done this already or imported one, this sub menu lists available Composite nodes to create or edit them.

After you have entered a significant and valid name for your node (name may contain letters, numbers and underscore, and has to start with a letter), a new window will pop up, already containing a Comp. input and a Comp. output node.

The Comp. input and output nodes represent the interfaces to your main node system, similar to the inputs and outputs at any ordinary filter node. You can add or remove as many of them as you need, either with copy / paste of the existing ones, or by creating new ones out of the node menu.

wd_composite-node_relabel-inputIt is highly recommended to label those input and output nodes according to their purpose, as this name will be visible at the Composite node's configuration later and thus simplifies assignment. To relabel a node, please open the node's properties either by right-clicking at the node and selecting "Item Properties", or with the keyboard shortcut [Alt + P], and enter a suitable label. Please do not change the name of the node (field at the top), unless you really need to, as this is not the one being displayed later.

The next step would be setting up your node structure as needed, for this you have all input, filter and script nodes available. You can even place widgets inside of your Composite node if necessary.

If you decide to provide your Composite node to others, please bear in mind to do a proper documentation how to setup the required environment. For example, If you have a TCP input node in your Composite node, your customer has to prepare the TCP connection correctly beforehand, or has to be informed to import this part of data from your project.

When you are done with your setup, simply close the Composite node window. A dialog asks you, whether you like to create an instance of the new node immediately.

Editing an existing Composite node is possible as follows
- via the Node menu > Composite > Edit > your Node
- right-click on the Node > Configure Node > button "Edit 'Name' Composite"

However, the later method enables you to view the concrete values handled by this instance. Opening the configuration dialogs of the nodes inside of the Composite window, displays all input and output information, an essential tool for testing and debugging your node system.

Please bear in mind that if you edit a Composite node while one or more instances are already located in the project, the changes will affect all of those. What you edit is always the master node and never a specific instance of it, despite the values shown inside of it.