Class DefaultGraphRenderer
Inheritance
System.Object
DefaultGraphRenderer
Syntax
public class DefaultGraphRenderer : IGraphRenderer
Constructors
DefaultGraphRenderer()
Declaration
public DefaultGraphRenderer()
Methods
Draw(IGraphLayout, Rect)
Declaration
public void Draw(IGraphLayout graphLayout, Rect drawingArea)
Parameters
| Type |
Name |
Description |
| IGraphLayout |
graphLayout |
|
| Rect |
drawingArea |
|
Implements
Draw(IGraphLayout, Rect, GraphSettings)
Declaration
public void Draw(IGraphLayout graphLayout, Rect totalDrawingArea, GraphSettings graphSettings)
Parameters
Implements
DrawRect(Rect, Color, String, Boolean, Boolean)
Declaration
public void DrawRect(Rect rect, Color color, string text, bool active, bool selected = false)
Parameters
| Type |
Name |
Description |
| Rect |
rect |
|
| Color |
color |
|
| System.String |
text |
|
| System.Boolean |
active |
|
| System.Boolean |
selected |
|
Reset()
Declaration
Events
nodeClicked
Declaration
protected event Action<Node> nodeClicked
Event Type
| Type |
Description |
| Action<Node> |
|