Click or drag to resize

GraphGeneratorsCompleteGraph Method

Returns complete graph. Each node is connected to each other node.

Namespace:  GraphLibrary
Assembly:  GraphLibrary (in GraphLibrary.dll) Version: 1.0.1
Syntax
C#
public BaseGraph CompleteGraph(
	int numberOfNodes,
	GraphTypes graphType = GraphTypes.GraphFastDirected
)

Parameters

numberOfNodes
Type: SystemInt32
Number of nodes in generated graph. Higher than 0.
graphType (Optional)
Type: GraphLibrary.GraphsGraphTypes
Graph type, defaults to GraphFastDirected

Return Value

Type: BaseGraph
A complete graph with specified number of nodes.
See Also