This document is archived and information here might be outdated.  Recommended version.


IGraph Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IGraph Interface

Provides access to members that manage graphs.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Members

Description
Method Add Adds the preexisting Feature to the graph.
Method AddFeatureClass Add the FeatureClass to this graph.
Method DeleteSet Removes the set of Feature from the graph.
Read-only property FeatureDataset The FeatureDataset associated with the graph.
Method GetDisplayFeedback The DisplayFeedback.
Method Init Initializes the graph.
Method Merge Merges the Features together, returning the newly created Feature.
Method Split Split the feature.
Method TransformSet Repositions all specified NetworkFeatures and any topologically connected NetworkFeatures.
Read/write property VertexBasedStretching The stretching model to nearest vertex (true) or junction (false) based stretching.

CoClasses that implement IGraph

CoClasses and Classes Description
GeometricNetwork Esri Geometric Network object.

Remarks

The IGraph interface contains methods and properties which are used in conjunction with geometric networks.  Many of the methods, such as Add, Init, Split and Merge are called internally from within other methods.  For these methods, there may be an analogous method or series of methods available, consult the specific help file for that method.

The NetworkLoader object should be used for creating or building of geometric networks, in place of the Graph or GeometricNetwork objects.

Since IGeometricNetwork inherits from IGraph, all the methods on IGraph are available to IGeometricNetwork

See Also

IGraph.TransformSet Method | IGraph Interface | IGeometricNetwork Interface | IGeometricNetwork.AddJunctionWithSubsumption Method | IGeometricNetworkName Interface | IGraph.Split Method | GeometricNetwork Class