Share

Graph.AddNode Method

Description

Adds a new node to the graph. The node must be created on the heap and should not be deleted once it has been added to the graph. The graph will take care of deleting it when necessary. You cannot add a node to more than one graph.

Visual Basic

Public Function AddNode(
    nodeToAdd As GraphNode
) As void

C#

public void AddNode(
    GraphNode nodeToAdd
);

Parameters

Parameters Description
GraphNode nodeToAdd Node to add

Links

Graph Class, Autodesk.AutoCAD.DatabaseServices Namespace

Was this information helpful?