Packagecom.yworks.graph.model
Classpublic class GraphDecorator
InheritanceGraphDecorator Inheritance Object

Helper class that can be used to aid in decorating IModelItems from an IGraph instance.



Public Properties
 PropertyDefined By
  bendDecorator : BendDecorator
[read-only] A BendDecorator instance that can be used to decorate the lookup of the IBend instances in the graph that this decorator has been created for.
GraphDecorator
  edgeDecorator : EdgeDecorator
[read-only] A EdgeDecorator instance that can be used to decorate the lookup of the IEdge instances in the graph that this decorator has been created for.
GraphDecorator
  labelDecorator : LabelDecorator
[read-only] A LabelDecorator instance that can be used to decorate the lookup of the ILabel instances in the graph that this decorator has been created for.
GraphDecorator
  nodeDecorator : NodeDecorator
[read-only] A NodeDecorator instance that can be used to decorate the lookup of the INode instances in the graph that this decorator has been created for.
GraphDecorator
  portDecorator : PortDecorator
[read-only] A PortDecorator instance that can be used to decorate the lookup of the IPort instances in the graph that this decorator has been created for.
GraphDecorator
Public Methods
 MethodDefined By
  
GraphDecorator
Property Detail
bendDecoratorproperty
bendDecorator:BendDecorator  [read-only]

A BendDecorator instance that can be used to decorate the lookup of the IBend instances in the graph that this decorator has been created for.


Implementation
    public function get bendDecorator():BendDecorator
edgeDecoratorproperty 
edgeDecorator:EdgeDecorator  [read-only]

A EdgeDecorator instance that can be used to decorate the lookup of the IEdge instances in the graph that this decorator has been created for.


Implementation
    public function get edgeDecorator():EdgeDecorator
labelDecoratorproperty 
labelDecorator:LabelDecorator  [read-only]

A LabelDecorator instance that can be used to decorate the lookup of the ILabel instances in the graph that this decorator has been created for.


Implementation
    public function get labelDecorator():LabelDecorator
nodeDecoratorproperty 
nodeDecorator:NodeDecorator  [read-only]

A NodeDecorator instance that can be used to decorate the lookup of the INode instances in the graph that this decorator has been created for.


Implementation
    public function get nodeDecorator():NodeDecorator
portDecoratorproperty 
portDecorator:PortDecorator  [read-only]

A PortDecorator instance that can be used to decorate the lookup of the IPort instances in the graph that this decorator has been created for.


Implementation
    public function get portDecorator():PortDecorator
Constructor Detail
GraphDecorator()Constructor
public function GraphDecorator(graph:IGraph)



Parameters
graph:IGraph