ValueTransformableTreeGraph DrawLines Method ElecNetKit Documentation
Draws all the network lines.

Namespace: ElecNetKit.Graphing.Graphs
Assembly: ElecNetKit.Graphing (in ElecNetKit.Graphing.dll) Version: 1.1.4771.27373 (1.1.0.0)
Syntax

protected void DrawLines(
	NetworkModel Network,
	AdaptiveGradientMap<Tuple<Brush, Pen>> colorMap,
	DrawingContext drawingContext
)

Parameters

Network
Type: ElecNetKit.NetworkModelling NetworkModel
The network from which to draw buses.
colorMap
Type: ElecNetKit.Graphing.AdaptiveGradients AdaptiveGradientMap OnlineTuple OnlineBrush, OnlinePen  
A map of the colours to use from the specified gradient.
drawingContext
Type: OnlineSystem.Windows.Media DrawingContext
The target that we should draw to.
See Also