|
GraphGeneratorsCompleteGraph Method
|
Returns complete graph.
Each node is connected to each other node.
Namespace:
GraphLibrary
Assembly:
GraphLibrary (in GraphLibrary.dll) Version: 1.0.1
Syntaxpublic 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:
BaseGraphA complete graph with specified number of nodes.
See Also