## module:NetworkElement(appInstance)

parent class for all network elements

#### new module:NetworkElement(appInstance)
`modules/editorElements/NetworkElement.js`, `line 6`

  Basic constructor for NetworkElement

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `appInstance` | App | reference to the instance of App that this element belongs to

### Members

#### exportData
`modules/editorElements/NetworkElement.js`, `line 47`

  "virtual" getter for json data, prints an error that it has to be redefined in the derived classes

#### id
`modules/editorElements/NetworkElement.js`, `line 25`

  Get the unique ID of the SVG element tied to this logical element

### Methods

#### onMouseDown()
`modules/editorElements/NetworkElement.js`, `line 32`

  empty callback function to prevent error messages, function is implemented later in the Box class

#### onMouseMove()
`modules/editorElements/NetworkElement.js`, `line 42`

  empty function to prevent error messages, function is implemented later in the Box class

#### onMouseUp()
`modules/editorElements/NetworkElement.js`, `line 37`

  empty function to prevent error messages, function is implemented later in the Box and Connector classes