Reference

# Module `view.NetworkNewDialog`

Widget that handles the creation and configuration of a neural network topology.

## Functions

NetworkNewDialog.new (parent, edit_mode) | Constructor.
NetworkNewDialog:run (base_net) | Runs the dialog and returns the created neural network.
(private) NetworkNewDialog:build_gui (parent, edit_mode) | Builds the interface.
(private) NetworkNewDialog:create_network () | Creates a network based on the widget parameters.

## Functions

NetworkNewDialog.new (parent, edit_mode)
  Constructor.

  ### Parameters

  - parent: Parent window
  - edit_mode: If the user can't edit the number of input and output neurons

  ### Return value:

  New NetworkNewDialog instance
NetworkNewDialog:run (base_net)
  Runs the dialog and returns the created neural network.

  ### Parameters

  - base_net: Network to get the current number of neurons and type (can be nil)

  ### Return value:

  A new network, network type and connection rate. If the user canceled, nil is returned.
(private) NetworkNewDialog:build_gui (parent, edit_mode)
  Builds the interface.

  ### Parameters

  - parent: Parent window
  - edit_mode: If the user can't edit the number of input and output neurons
(private) NetworkNewDialog:create_network ()
  Creates a network based on the widget parameters.