Packagecom.yworks.graph.drawing
Classpublic class OverviewGraphPaintable
InheritanceOverviewGraphPaintable Inheritance Object
Implements IPaintable

An IPaintable for use in a CanvasComponent that renders an IGraph instance in a sloppy overview style.



Public Methods
 MethodDefined By
  
Creates a new instance for the given graph.
OverviewGraphPaintable
  
Performs the actual painting into the given graphics context.
OverviewGraphPaintable
Protected Methods
 MethodDefined By
  
Callback that paints the edge.
OverviewGraphPaintable
  
Callback that paints the group node.
OverviewGraphPaintable
  
Callback that paints the node.
OverviewGraphPaintable
Constructor Detail
OverviewGraphPaintable()Constructor
public function OverviewGraphPaintable(graph:IGraph)

Creates a new instance for the given graph.

Parameters
graph:IGraph
Method Detail
paint()method
public function paint(g:YGraphics, ctx:IPaintContext):void

Performs 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):void

Callback 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):void

Callback 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):void

Callback that paints the node.

Parameters

g:YGraphics — the graphics context.
 
ctx:IPaintContext — the paint context.
 
node:INode — The node to paint.