.. index:: Delete State

.. _Delete_State:

Delete State
============

The delete state function can be activated from the Delete State item in the :ref:`Edit Menu<edit_menu>` or from the delete state button in the :ref:`Edit Mode<edit_mode>` Tool Bar (the button shown in Figure 1).

.. figure:: images/delete_state_tool.png
	:width: 5%

	Figure 1: The delete state tool button from the Edit Mode Tool Bar.

The delete state function deletes a state/decision of the (discrete) node currently selected. The function only works for :ref:`discrete chance nodes<discrete_chance_node>` and :ref:`decision nodes<decision_node>`.

The delete state function can only be activated when the currently selected node has two or more states.