ENdeletenode: Deletes a node

View source: R/nodes.r

ENdeletenodeR Documentation

Deletes a node

Description

Deletes a node

Usage

ENdeletenode(nodeindex, actionCode)

Arguments

nodeindex

the index of the node to be deleted.

actionCode

the action taken if any control contains the node and its links: EN_UNCONDITIONAL or EN_CONDITIONAL.

Details

If 'actionCode' is EN_UNCONDITIONAL then the node, its incident links and all simple and rule-based controls that contain them are deleted. If set to EN_CONDITIONAL then the node is not deleted if it or its incident links appear in any controls and error code 261 is returned.


epanet2toolkit documentation built on Nov. 6, 2023, 9:06 a.m.