Edge Constructor

Comuna.NET

Edge Constructor

Creates a new Edge linking the given source and target with the associated weight.

Namespace:  Comuna.Graphviz
Assembly:  Comuna.Graphviz (in Comuna.Graphviz.dll) Version: 1.0.0
Syntax
C#
public Edge(
	Node source,
	Node target,
	double weight = 1
)
Request Example View Source

Parameters

source
Type: Comuna.GraphvizNode
The source of the connection.
target
Type: Comuna.GraphvizNode
The target of the connection.
weight (Optional)
Type: SystemDouble
The weight associated with the connection.
See Also