| Package | com.yworks.graph.drawing |
| Class | public class OverviewGraphPaintable |
| Inheritance | OverviewGraphPaintable Object |
| Implements | IPaintable |
IPaintable for use in a CanvasComponent
that renders an IGraph instance in a sloppy overview style.
| Method | Defined By | ||
|---|---|---|---|
OverviewGraphPaintable(graph:IGraph)
Creates a new instance for the given graph. | OverviewGraphPaintable | ||
Performs the actual painting into the given graphics context. | OverviewGraphPaintable | ||
| Method | Defined By | ||
|---|---|---|---|
Callback that paints the edge. | OverviewGraphPaintable | ||
Callback that paints the group node. | OverviewGraphPaintable | ||
Callback that paints the node. | OverviewGraphPaintable | ||
| OverviewGraphPaintable | () | Constructor |
public function OverviewGraphPaintable(graph:IGraph)Creates a new instance for the given graph.
Parametersgraph:IGraph |
| paint | () | method |
public function paint(g:YGraphics, ctx:IPaintContext):voidPerforms the actual painting into the given graphics context.
Parameters
g:YGraphics — The graphics context to paint into
| |
ctx:IPaintContext — Currently not used
|
| paintEdge | () | method |
protected function paintEdge(g:YGraphics, ctx:IPaintContext, edge:IEdge):voidCallback that paints the edge.
Parameters
g:YGraphics — the graphics context.
| |
ctx:IPaintContext — The edge to paint.
| |
edge:IEdge |
| paintGroupNode | () | method |
protected function paintGroupNode(g:YGraphics, ctx:IPaintContext, node:INode):voidCallback that paints the group node.
Parameters
g:YGraphics — the graphics context.
| |
ctx:IPaintContext — the paint context.
| |
node:INode — The node to paint.
|
| paintNode | () | method |
protected function paintNode(g:YGraphics, ctx:IPaintContext, node:INode):voidCallback that paints the node.
Parameters
g:YGraphics — the graphics context.
| |
ctx:IPaintContext — the paint context.
| |
node:INode — The node to paint.
|