TreeGraph MembersElecNetKit Documentation

The TreeGraph type exposes the following members.
Constructors

  NameDescription
Public methodTreeGraph
Instantiates a new TreeGraph, with a default image size of 900x700 and a default margin of 20.
Back to Top
Methods

  NameDescription
Public methodDraw
Draws the graph for the NetworkModel provided by Network.
Public methodGetObjectAtLocation
Finds the network element at the specified (device-independent) pixel location.
Public methodScaledLocation
Scales a OnlinePoint from Network Coordinates to Image Coordinates.
Public methodScaledRectangle
Scales a rectangle from Network Coordinates to Image Coordinates.
Public methodUnscaledLocation
Unscales a OnlinePoint from Image Coordinates to Network Coordinates.
Public methodUnscaledRectangle
Unscales a rectangle from Image Coordinates to Network Coordinates.
Back to Top
Properties

  NameDescription
Public propertyImgCoords
The coordinates within which the image is to be displayed.
Public propertyMargin
A margin around the edge of the graph.
Public propertyNetwork
The electrical network model that the TreeGraph is to draw with the Draw  function.
Public propertyPresentationMode
If true, specifies that the graph should be drawn in presentation mode.
Back to Top
See Also