Hub
Pricing About
NodeNode / Manipulator

Network Generator

Other Data TypesNetwork
Drag & drop
Like

Generates new network elements depending on the selected algorithms. The settings script can be generated using the elements of the domain and edge section.

Script section

The script section contains all informations to generate an artificial network. An example of such a script would look like this:

%This is a comment that is ignored
++++++Network++++++
%specifies that the network contains directed edges
>Directed network(true|false)::true
------Network------
%This is the section that defines the first domain
++++++Domain++++++
>Name::domain1
>Domain creator::JG - Scale free
|->Number of nodes::20
|->Number of node partitions::1
|->Number of edge partitions::1
------Domain------
%This section defines the edges that connect two domains
+++++++Edge+++++++
domain1=>domain1
>Edge creator::Simple creator
|->Number of edges::10
>1. Node selector::Equal distribution
|->Seed::123
>2. Node selector::Equal distribution
|->Seed::321
-------Edge-------

Special scripting characters and elements:

  • % marks a comment
  • > marks a parameter e.g. name of a domain
  • |->marks a sub parameter e.g. number of nodes
  • :: is a value separator
  • + marks the start of a section e.g. ++++++Network++++++ marks the start of the network section
  • - marks the end of a section e.g. ------Network------ marks the end of the network section
  • Name marks the domain name e.g. >Name::domain1
  • Domain creator marks the name of the domain creator to use e.g. >Domain creator::JG - Linear
  • Edge creator marks the edge creator to use e.g >Edge creator::Simple creator
  • 1. Node selector marks the node selector which selects the nodes from the first domain
  • 2. Node selector marks the node selector which selects the nodes from the second domain

Domain and edge templates can be generated using the section on the right.

Domain section

The domain section is used to create a new domain with the characteristic of the selected domain creator. The selected domain creator and its specific setting are appended to the end of the settings file when the Append button is pressed. The settings of the new appended domain e.g. number of nodes can be changed in the network generator script.

A domain can be also seen as a component. The domains (components) are unconnected as long as no domain crossing edges are specified (see Domain crossing edge section)

Domain crossing edge section

The domain crossing edge section domain section allows to generate a script that connects two domains by the specified number of edges. The domain crossing edge settings are append to the end of the file when the append button is pressed. The settings of the new appended domain such as the domains to connect (e.g. domain1=>domain2) or the number of edges can be changed in the network generator script.

Node details

Input ports
  1. Type: Network
    Network (optional)
    Network (optional)
Output ports
  1. Type: Network
    Generated Network
    Generated network
  2. Type: Table
    Domain table
    Domain info table
  3. Type: Table
    Domain crossing edge table
    Domain crossing edges table

Extension

The Network Generator node is part of this extension:

  1. Go to item

Related workflows & nodes

  1. Go to item
  2. Go to item
  3. Go to item

KNIME
Open for Innovation

KNIME AG
Talacker 50
8001 Zurich, Switzerland
  • Software
  • Getting started
  • Documentation
  • Courses + Certification
  • Solutions
  • KNIME Hub
  • KNIME Forum
  • Blog
  • Events
  • Partner
  • Developers
  • KNIME Home
  • Careers
  • Contact us
Download KNIME Analytics Platform Read more about KNIME Business Hub
© 2025 KNIME AG. All rights reserved.
  • Trademarks
  • Imprint
  • Privacy
  • Terms & Conditions
  • Data Processing Agreement
  • Credits