KNIME Nodes

Quickforms and Wrapped Metanodes

Meta-Nodes (Metanodes) were used in the previous example to hide unimportant detail and clean-up the workflow: KN-111 Copy and Paste Tables with Headings

This workflow introduces the slightly more advance “Wrapped Metanodes”.

Wrapped Metanodes also contain hidden workflows, but act more like regular nodes. When you double-click a Wrapped Metanode, a configuration dialog will appear to customize the internal workflow (double-clicking regular Metanodes will just open up the internal workflow).

A collection of “Quickforms” can be added to the internal Wrapped Metanode. These Quickforms will determine the controls that will appear in the Metanode’s configuration dialog. Quickforms can include:

  • String Input
  • Double Input
  • Slider Input
  • List Box Input

This example shows how a Wrapped Metanode can help the user append a fixed-value Customer Distribution to an upstream Willingness To Pay (WTP) Matrix or input table.

This KNIME Node Use Case provides an example of a useful KNIME workflow. These workflows do not depend upon Market Simulation but can supplement a Market Simulation workflow. If you have not yet installed KNIME, go to Getting Started.

#1 Wrapped Metanode

There are several places within the Wrapped Metanode that contribute content to the Metanode’s Configuration Dialog:

  • WrappedNode Input = descriptive introduction of configuration
  • WrappedNode Output = description of the output from the node
  • Quickforms = configuration details of the dialog’s inputs

The Flow Variable’s created by the “String Input” and the “Double Input” are used by the “Constant Value Column” node to generate a fixed-value Customer Distribution. This column is appended to the upstream Customer Distributions Matrix.

If you look closely at the featured image (at the very top of this post) on the right-hand-side is the full, user-defined description of the Wrapped Metanode.

Input
Flow Variables

Wrapped Node
Description

String
Quickform

Double
Quickform

Quickform
Flow Variables

Constant
Value Node

Override
Flow Variables

Output
Flow Variables

Output
Description

Metanode
Input

Metanode
Configuration

Metanode
Output