Sage Modeling and Simulation Library

Edge..::..Disconnect Method (Vertex, Vertex, Boolean)

Removes one or more edges, if they exist, linking the fromVertex to the toVertex. The edge will be outbound from the fromVertex, and inbound to the toVertex.

Namespace:  Highpoint.Sage.Graphs
Assembly:  Sage4 (in Sage4.dll)

Syntax


public static void Disconnect(
	Vertex from,
	Vertex to,
	bool deleteAllSuchEdges
)

Parameters

from
Type: Highpoint.Sage.Graphs..::..Vertex
The fromVertex.
to
Type: Highpoint.Sage.Graphs..::..Vertex
The toVertex.
deleteAllSuchEdges
Type: Boolean
if set to true this method will delete all such edges. If false, it will delete only the first one found.