| 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.
| Property | Defined By | ||
|---|---|---|---|
| overviewEdgeStyle : IEdgeStyle
The overview edge style. | OverviewGraphPaintable | ||
| overviewGroupNodeStyle : INodeStyle
The overview group node style. | OverviewGraphPaintable | ||
| overviewNodeStyle : INodeStyle
The overview node style. | OverviewGraphPaintable | ||
| 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 | ||
|---|---|---|---|
Factory method that creates the overviewEdgeStyle
| OverviewGraphPaintable | ||
Factory method that creates the overviewGroupNodeStyle
| OverviewGraphPaintable | ||
Factory method that creates the overviewNodeStyle
| OverviewGraphPaintable | ||
Callback that returns and/or configures a edge style for the given edge to render. | OverviewGraphPaintable | ||
Callback that returns and/or configures a node style for the given group node to render. | OverviewGraphPaintable | ||
Callback that returns and/or configures a node style for the given node to render. | OverviewGraphPaintable | ||
Callback that paints the edge. | OverviewGraphPaintable | ||
Callback that paints the group node. | OverviewGraphPaintable | ||
Callback that paints the node. | OverviewGraphPaintable | ||
| overviewEdgeStyle | property |
overviewEdgeStyle:IEdgeStyleThe overview edge style.
public function get overviewEdgeStyle():IEdgeStyle public function set overviewEdgeStyle(value:IEdgeStyle):void| overviewGroupNodeStyle | property |
overviewGroupNodeStyle:INodeStyleThe overview group node style.
public function get overviewGroupNodeStyle():INodeStyle public function set overviewGroupNodeStyle(value:INodeStyle):void| overviewNodeStyle | property |
overviewNodeStyle:INodeStyleThe overview node style.
public function get overviewNodeStyle():INodeStyle public function set overviewNodeStyle(value:INodeStyle):void| OverviewGraphPaintable | () | Constructor |
public function OverviewGraphPaintable(graph:IGraph)Creates a new instance for the given graph.
Parametersgraph:IGraph |
| createEdgeStyle | () | method |
protected function createEdgeStyle():IEdgeStyle
Factory method that creates the overviewEdgeStyle
IEdgeStyle — a simple edge style
|
See also
| createGroupNodeStyle | () | method |
protected function createGroupNodeStyle():INodeStyle
Factory method that creates the overviewGroupNodeStyle
INodeStyle — a simple node style
|
See also
| createNodeStyle | () | method |
protected function createNodeStyle():INodeStyle
Factory method that creates the overviewNodeStyle
INodeStyle — a simple node style
|
See also
| getOverviewEdgeStyle | () | method |
protected function getOverviewEdgeStyle(edge:IEdge):IEdgeStyleCallback that returns and/or configures a edge style for the given edge to render.
Parameters
edge:IEdge — The edge to render.
|
IEdgeStyle — The style or null
|
| getOverviewGroupNodeStyle | () | method |
protected function getOverviewGroupNodeStyle(node:INode):INodeStyleCallback that returns and/or configures a node style for the given group node to render.
Parameters
node:INode — The node to render.
|
INodeStyle — The style or null
|
| getOverviewNodeStyle | () | method |
protected function getOverviewNodeStyle(node:INode):INodeStyleCallback that returns and/or configures a node style for the given node to render.
Parameters
node:INode — The node to render.
|
INodeStyle — The style or null
|
| 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.
|