ValueTransformableTreeGraph MembersElecNetKit Documentation

The ValueTransformableTreeGraph type exposes the following members.
Constructors

  NameDescription
Public methodValueTransformableTreeGraph
Instantiates a new ValueTransformableTreeGraph.
Back to Top
Methods

  NameDescription
Protected methodBuildGradientMap
Builds a gradient map based upon BusColorGradient and BusColorTransform for the data in this network.
Public methodDraw
Draws the graph for the NetworkModel provided by Network.
(Overrides TreeGraph Draw .)
Protected methodDrawBuses
Draws all the network buses, using the specified value transforms.
Protected methodDrawLines
Draws all the network lines.
Public methodGetObjectAtLocation
Finds the network element at the specified (device-independent) pixel location.
(Overrides TreeGraph GetObjectAtLocation(Point).)
Public methodScaledLocation
Scales a OnlinePoint from Network Coordinates to Image Coordinates.
(Inherited from TreeGraph.)
Public methodScaledRectangle
Scales a rectangle from Network Coordinates to Image Coordinates.
(Inherited from TreeGraph.)
Public methodUnscaledLocation
Unscales a OnlinePoint from Image Coordinates to Network Coordinates.
(Inherited from TreeGraph.)
Public methodUnscaledRectangle
Unscales a rectangle from Image Coordinates to Network Coordinates.
(Inherited from TreeGraph.)
Back to Top
Properties

  NameDescription
Public propertyBusColorGradient
An adaptive gradient that determines, in conjunction with BusColorTransform, how the buses on the network should be coloured.
Public propertyBusColorTransform
A function that transforms Buses into values that are passed to BusColorGradient to determine the colour of buses displayed on the network graph.
Public propertyBusSizeMax
The maximum allowable bus size, in pixel radius.
Public propertyBusSizeMin
The minimum allowable bus size, in pixel radius.
Public propertyBusSizeTransform
A function that controls the size of each Bus.
Public propertyBusVisibleTransform
A function that should return true if a supplied Bus should be drawn.
Public propertyImgCoords
The coordinates within which the image is to be displayed.
(Inherited from TreeGraph.)
Public propertyLineThickness
The thickness of Lines to be drawn on the graph.
Public propertyMargin
A margin around the edge of the graph.
(Inherited from TreeGraph.)
Public propertyNetwork
The electrical network model that the TreeGraph is to draw with the Draw  function.
(Inherited from TreeGraph.)
Public propertyPresentationMode
If true, specifies that the graph should be drawn in presentation mode.
(Inherited from TreeGraph.)
Public propertyRingColor
The color of the ring. Constant across all buses.
Public propertyRingDistanceFromCenter
Should be set to true if RingDistanceTransform measures the distance of the ring from the centre of the bus. Otherwise, RingDistanceTransform is interpreted as the distance between the edge of the bus circle and the ring.
Public propertyRingDistanceTransform
Should return values that specify the distance that the ring is to be drawn from either the centre of the bus or the edge of the bus, as controlled by RingDistanceFromCenter.
Public propertyRingEnabledTransform
A function that should return true if the bus should have a ring drawn around it.
Public propertyRingThickness
The thickness of the ring (in pixels). Constant across all buses.
Back to Top
See Also