<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="../../../design/description.xslt" type="text/xsl"?>
<node lang="en" type="DynamicNode.Lib.Basic.NTrigger" assembly="NLibDefault" xmlns="http://dynamicnodes.mastersign.de/description">
  <caption>Trigger</caption>
  <group>Basics</group>
  <description>A user controlled trigger.</description>
  <inPorts />
  <outPorts>
    <port name="value">
      <type>bool</type>
      <description>Emits the current state of the trigger.</description>
    </port>
  </outPorts>
  <commands>
    <defaultCommand>
      Switches the state of the trigger by negating the current state and
      emits the current state via the out port <c>value</c>.
    </defaultCommand>
  </commands>
  <helpText>
    <p>
      This node emits boolean values. The current value is negated by the
      default command of the node. After negating the current value the
      new value is emitted via the out port <c>value</c>.
    </p>
    <info>
      The default command is usally executed by double click on the node in the editor.
    </info>
  </helpText>
  <customArea>
    A visual representation of the current node state.
  </customArea>
</node>