Node QML Type

The Node type is the base of all items in Neuronify. More...

Properties

Signals

Detailed Description

Node is a visual QML item that holds all common properties of items in Neuronify. It inherits NodeBase, which is its C++ counterpart.

In principle, Node and NodeBase could be the same class, but because GraphEngine and NodeEngine cannot know about a QML type, we need to split them up. This is because we wish to use some QML features to define the functionality of Node (such as MouseArea dragging), that does not allow us to put all functionality of Node in C++.

See also NodeBase and NodeEngine.

Property Documentation

canReceiveConnections : bool


color : color


connectionPoint : point


controls : Component


copiedFrom : var


dragProxy : var


dragging : bool


fileName : string


isAlias : bool


label : string


objectName : string


radius : real


removableChildren : var


selected : bool


simulator : Item


snapGridSize : real


square : bool


useDefaultMouseHandling : bool


velocity : vector2d


Signal Documentation

clicked(var entity, var mouse)


clickedConnector(var entity, var mouse)


dragEnded(var entity)


dragStarted(var entity)


droppedConnector(var poissonGenerator, var connector)


fired()


resolveAlias( index)