addNodeByPosition

addNodeByPosition(int position) function

Add new node in the selected position of nodes collection

Parameters

NameTypeDescription
positionintZero-base node position

Result

SmartArtNode

Error

ErrorCondition
ArgumentOutOfRangeExceptionposition is less than 0