Packagecom.kapit.diagram.proxies
Classpublic class DiagramProxy
Implementscom.kapit.diagram.layouts.IGraphProxy
SubclassesGroupDiagramProxy, KDLProxy

The base class proxy between the diagram and the layout algorithms. It enables loading graph description from the diagrammer of the Diagrammer (DiagramView class) and also affects graph elements properties on the Diagram elements of the correspondant diagram. This class enables to maintain abstraction between the Diagrammer and the Graph layout while maintaining high performance and synchronization level between them. This class is a base class for KDLProxy, which is the class to used for using layout algorithm with DiagramView.

See also

KDLProxy


Public Properties
 PropertyDefined by
  animatedOrganicLayout : AnimatedForceDirectedLayout
[read-only]
DiagramProxy
  animationDuration : uint = 1000
DiagramProxy
  balloonLayout : BalloonLayout
[read-only]
DiagramProxy
  centerPoint : Point
DiagramProxy
  circularLayout : SingleCycleCircularLayout
[read-only]
DiagramProxy
  constraintManager : ConstraintManager
[read-only]
DiagramProxy
  defaultLayout : int
DiagramProxy
  edgeLinkMap : Dictionary
DiagramProxy
  exportSuccess : Boolean
[read-only] Export status
DiagramProxy
  graph : IGraph
DiagramProxy
  groupProxies : Dictionary
Included group proxies to be handled by this Diagram Proxy
DiagramProxy
  hierarchicalLayout : HierarchicalLayout
[read-only]
DiagramProxy
  layoutConstaints : XML
[read-only]
DiagramProxy
  layoutConstraints : XML
[write-only]
DiagramProxy
  layoutOnDiagramChanged : Boolean
DiagramProxy
  linkEdgeMap : Dictionary
DiagramProxy
  mindMapLayout : MindMapLayout
[read-only]
DiagramProxy
  nodeSpriteMap : Dictionary
DiagramProxy
  organicLayout : StaticGEMLayout
[read-only]
DiagramProxy
  orthogonalLayout : OrthogonalLayout
[read-only]
DiagramProxy
  radialLayout : RadialLayout
[read-only]
DiagramProxy
  renderer : Object
DiagramProxy
  selectedProxy : DiagramProxy
[read-only] Selected Proxy in the DiagramView (the proxy of a selected group in the DiagramView)
DiagramProxy
  source : Object
DiagramProxy
  spriteNodeMap : Dictionary
DiagramProxy
  storedParameters : Array
[read-only] User defined layout parameters
DiagramProxy
  sugiyamaLayout : SugiyamaLayout
[read-only]
DiagramProxy
  topLevelProxy : DiagramProxy
[read-only]
DiagramProxy
  tweeners : Array
Animation tweeners
DiagramProxy
Protected Properties
 PropertyDefined by
  _constraintNodes : Dictionary
DiagramProxy
  _edgeLinkMap : Dictionary
DiagramProxy
  _exportSuccess : Boolean = false
DiagramProxy
  _finishTime : int
DiagramProxy
  _graph : IGraph
DiagramProxy
  _groupProxies : Dictionary
DiagramProxy
  _linkEdgeMap : Dictionary
DiagramProxy
  _nodeSpriteMap : Dictionary
DiagramProxy
  _numberOfIteration : int
DiagramProxy
  _selectedProxy : DiagramProxy
DiagramProxy
  _spriteNodeMap : Dictionary
DiagramProxy
  _startTime : int
DiagramProxy
  _storedParametersMap : Array
DiagramProxy
  _topLevelProxy : DiagramProxy
DiagramProxy
  _tweeners : Array
DiagramProxy
Public Methods
 MethodDefined by
  
DiagramProxy(topLevelProxy:DiagramProxy, centerPoint:Point = null)
Builds a DiagramProxy instance that is used as an interface between graph layout and DiagramView
DiagramProxy
  
addDiagramGroupAsMetaNode(group:DiagramGroup, withExternalLinks:Boolean = true):IGraph
Adds a metanode as a graph to the general graph description of this DiagramProxy from a DiagramGroup instance and returns it.
DiagramProxy
  
addDiagramLinkAsEdge(link:DiagramLink, customGraph:IGraph = null, customEdgeLinkMap:Dictionary = null, customLinkEdgeMap:Dictionary = null, customSpriteNodeMap:Dictionary = null):IEdge
Adds a edge to the graph description of this DiagramProxy from a DiagramEdge instance and returns it.
DiagramProxy
  
addDiagramSpriteAsNode(sprite:DiagramSprite, customGraph:IGraph = null, customNodeSpriteMap:Dictionary = null, customSpriteNodeMap:Dictionary = null, customConstraintManager:ConstraintManager = null, customConstraintNodes:Dictionary = null):INode
Adds a node to the graph description of this DiagramProxy from a DiagramSprite instance and returns it.
DiagramProxy
  
Adds an item (a DiagramObject) to this DiagramProxy (graph and renderer references)
DiagramProxy
  
DiagramProxy
  
animateGroupLinks(edges:Array, customTweeners:Array = null, withAnimation:Boolean = true):void
Animates Group In/Out Links
DiagramProxy
  
doAnimatedTransition(outEdges:Array = null, customGraph:IGraph = null, customNodeSpriteMap:Dictionary = null, customEdgeLinkMap:Dictionary = null, customTweeners:Array = null, withAnimation:Boolean = true, doTransition:Boolean = true):void
Performs an animated transition from old sprites position to new positions grabbed from the graph (usually after layout)
DiagramProxy
  
exportGraph(layoutType:int):void
DiagramProxy
  
getLayoutFromType(layoutType:int, customGraph:IGraph = null):Layout
Returns a Layout subclass instance according to a layoutType from the Constants class.
DiagramProxy
  
DiagramProxy
  
Finalizes a drag operation
DiagramProxy
  
Handles a drag operation in the rendrer layer and performs required computation
DiagramProxy
  
DiagramProxy
  
importGraph():IGraph
DiagramProxy
  
layoutSelection(layoutType:uint, sprites:Array, customOutEdges:Array = null, withAnimation:Boolean = false, doTransition:Boolean = true, tweeners:Array = null, minX:Number = 0, minY:Number = 0):IGraph
DiagramProxy
  
Removes a DiagramGroup references from this DiagramProxy
DiagramProxy
  
Removes an item (a DiagramObject) to this DiagramProxy (graph and renderer references)
DiagramProxy
  
Removes a DiagramLink references from this DiagramProxy
DiagramProxy
  
Removes a DiagramSprite references from this DiagramProxy
DiagramProxy
  
Inflicts an ungroup operation in the Diagram to the graph structure and Renderer-GraphLayout maps.
DiagramProxy
  
DiagramProxy
  
updateRendererFromGraph(element:IGraphItem, withAnimation:Boolean = true, update:Boolean = false):void
inheritDoc
DiagramProxy
Protected Methods
 MethodDefined by
  
Returns an Edge type given a DiagramLinkType
DiagramProxy
  
getIntermediatePoint(point1:Point, point2:Point, isHorizontal:Boolean):Point
Determines the intermediate point that links two points in an orthogonal fashion
DiagramProxy
  
Returns a DiagramLinkType according to an edgeType int (from the Constants class)
DiagramProxy
  
initLayouts():void
DiagramProxy
  
updateDiagramLinkFromEdge(edge:IEdge, customGraph:IGraph = null, customEdgeLinkMap:Dictionary = null, customTweeners:Array = null, withAnimation:Boolean = true):void
Updates the DiagramLink referenced by a edge (via the map _edgeLinkMap) by applying the edge properties on it (path).
DiagramProxy
  
updateDiagramSpriteFromNode(node:INode, customGraph:IGraph = null, customNodeSpriteMap:Dictionary = null, customTweeners:Array = null, withAnimation:Boolean = true, update:Boolean = false):void
Updates the DiagramSprite referenced by a node (via the map _nodeSpriteMap) by applying the node properties on it (placement and size).
DiagramProxy
  
updateEdgeExtremities(edge:IEdge, customGraph:IGraph = null, customEdgeLinkMap:Dictionary = null):void
Updates Edge Extremities given its extremity nodes position.
DiagramProxy
  
updateEdgePointsFromLink(edge:IEdge, link:DiagramLink):void
Updates edge points from a DiagramLink
DiagramProxy
  
updateEdgesFromLinks(customGraph:IGraph = null, customedgeLinkMap:Dictionary = null, customNodeSpriteMap:Dictionary = null, customGroupProxies:Dictionary = null):void
Updates graph nodes from their respective sprites
DiagramProxy
  
Updates node properties (size and position) from a given DiagramSprite
DiagramProxy
  
updateNodesFromSprites(customGraph:IGraph = null, customNodeSpriteMap:Dictionary = null, customGroupProxies:Dictionary = null):void
Updates graph nodes from their respective sprites
DiagramProxy
Property detail
animatedOrganicLayoutproperty
animatedOrganicLayout:AnimatedForceDirectedLayout  [read-only]Implementation
    public function get animatedOrganicLayout():AnimatedForceDirectedLayout
animationDurationproperty 
public var animationDuration:uint = 1000
balloonLayoutproperty 
balloonLayout:BalloonLayout  [read-only]Implementation
    public function get balloonLayout():BalloonLayout
centerPointproperty 
centerPoint:Point  [read-write]Implementation
    public function get centerPoint():Point
    public function set centerPoint(value:Point):void
circularLayoutproperty 
circularLayout:SingleCycleCircularLayout  [read-only]Implementation
    public function get circularLayout():SingleCycleCircularLayout
constraintManagerproperty 
constraintManager:ConstraintManager  [read-only]Implementation
    public function get constraintManager():ConstraintManager
_constraintNodesproperty 
protected var _constraintNodes:Dictionary
defaultLayoutproperty 
defaultLayout:int  [read-write]Implementation
    public function get defaultLayout():int
    public function set defaultLayout(value:int):void
_edgeLinkMapproperty 
protected var _edgeLinkMap:Dictionary
edgeLinkMapproperty 
edgeLinkMap:Dictionary  [read-write]

Implementation
    public function get edgeLinkMap():Dictionary
    public function set edgeLinkMap(value:Dictionary):void
_exportSuccessproperty 
protected var _exportSuccess:Boolean = false
exportSuccessproperty 
exportSuccess:Boolean  [read-only]

Export status

Implementation
    public function get exportSuccess():Boolean
_finishTimeproperty 
protected var _finishTime:int
_graphproperty 
protected var _graph:IGraph
graphproperty 
graph:IGraph  [read-write]

Implementation
    public function get graph():IGraph
    public function set graph(value:IGraph):void
_groupProxiesproperty 
protected var _groupProxies:Dictionary
groupProxiesproperty 
groupProxies:Dictionary  [read-write]

Included group proxies to be handled by this Diagram Proxy

Implementation
    public function get groupProxies():Dictionary
    public function set groupProxies(value:Dictionary):void
hierarchicalLayoutproperty 
hierarchicalLayout:HierarchicalLayout  [read-only]Implementation
    public function get hierarchicalLayout():HierarchicalLayout
layoutConstaintsproperty 
layoutConstaints:XML  [read-only]

Implementation
    public function get layoutConstaints():XML
layoutConstraintsproperty 
layoutConstraints:XML  [write-only]Implementation
    public function set layoutConstraints(value:XML):void
layoutOnDiagramChangedproperty 
layoutOnDiagramChanged:Boolean  [read-write]Implementation
    public function get layoutOnDiagramChanged():Boolean
    public function set layoutOnDiagramChanged(value:Boolean):void
_linkEdgeMapproperty 
protected var _linkEdgeMap:Dictionary
linkEdgeMapproperty 
linkEdgeMap:Dictionary  [read-write]

Implementation
    public function get linkEdgeMap():Dictionary
    public function set linkEdgeMap(value:Dictionary):void
mindMapLayoutproperty 
mindMapLayout:MindMapLayout  [read-only]Implementation
    public function get mindMapLayout():MindMapLayout
_nodeSpriteMapproperty 
protected var _nodeSpriteMap:Dictionary
nodeSpriteMapproperty 
nodeSpriteMap:Dictionary  [read-write]

Implementation
    public function get nodeSpriteMap():Dictionary
    public function set nodeSpriteMap(value:Dictionary):void
_numberOfIterationproperty 
protected var _numberOfIteration:int
organicLayoutproperty 
organicLayout:StaticGEMLayout  [read-only]Implementation
    public function get organicLayout():StaticGEMLayout
orthogonalLayoutproperty 
orthogonalLayout:OrthogonalLayout  [read-only]Implementation
    public function get orthogonalLayout():OrthogonalLayout
radialLayoutproperty 
radialLayout:RadialLayout  [read-only]Implementation
    public function get radialLayout():RadialLayout
rendererproperty 
renderer:Object  [read-write]

Implementation
    public function get renderer():Object
    public function set renderer(value:Object):void
_selectedProxyproperty 
protected var _selectedProxy:DiagramProxy
selectedProxyproperty 
selectedProxy:DiagramProxy  [read-only]

Selected Proxy in the DiagramView (the proxy of a selected group in the DiagramView)

Implementation
    public function get selectedProxy():DiagramProxy
sourceproperty 
source:Object  [read-write]

Implementation
    public function get source():Object
    public function set source(value:Object):void
_spriteNodeMapproperty 
protected var _spriteNodeMap:Dictionary
spriteNodeMapproperty 
spriteNodeMap:Dictionary  [read-write]

Implementation
    public function get spriteNodeMap():Dictionary
    public function set spriteNodeMap(value:Dictionary):void
_startTimeproperty 
protected var _startTime:int
storedParametersproperty 
storedParameters:Array  [read-only]

User defined layout parameters

Implementation
    public function get storedParameters():Array
_storedParametersMapproperty 
protected var _storedParametersMap:Array
sugiyamaLayoutproperty 
sugiyamaLayout:SugiyamaLayout  [read-only]Implementation
    public function get sugiyamaLayout():SugiyamaLayout
_topLevelProxyproperty 
protected var _topLevelProxy:DiagramProxy
topLevelProxyproperty 
topLevelProxy:DiagramProxy  [read-only]Implementation
    public function get topLevelProxy():DiagramProxy
_tweenersproperty 
protected var _tweeners:Array
tweenersproperty 
tweeners:Array  [read-write]

Animation tweeners

Implementation
    public function get tweeners():Array
    public function set tweeners(value:Array):void
Constructor detail
DiagramProxy()constructor
public function DiagramProxy(topLevelProxy:DiagramProxy, centerPoint:Point = null)

Builds a DiagramProxy instance that is used as an interface between graph layout and DiagramView

Parameters
topLevelProxy:DiagramProxy — DiagramView from which the DiagramProxy is initialised and updated
 
centerPoint:Point (default = null)
Method detail
addDiagramGroupAsMetaNode()method
public function addDiagramGroupAsMetaNode(group:DiagramGroup, withExternalLinks:Boolean = true):IGraph

Adds a metanode as a graph to the general graph description of this DiagramProxy from a DiagramGroup instance and returns it.

Parameters
group:DiagramGroup — DiagramGroup from which the graph (metanode) properties are set.
 
withExternalLinks:Boolean (default = true)

Returns
IGraph — Added Meta Node.
addDiagramLinkAsEdge()method 
public function addDiagramLinkAsEdge(link:DiagramLink, customGraph:IGraph = null, customEdgeLinkMap:Dictionary = null, customLinkEdgeMap:Dictionary = null, customSpriteNodeMap:Dictionary = null):IEdge

Adds a edge to the graph description of this DiagramProxy from a DiagramEdge instance and returns it.

Parameters
link:DiagramLink — DiagramEdge from which the edge properties are set.
 
customGraph:IGraph (default = null)
 
customEdgeLinkMap:Dictionary (default = null)
 
customLinkEdgeMap:Dictionary (default = null)
 
customSpriteNodeMap:Dictionary (default = null)

Returns
IEdge — Added Edge.
addDiagramSpriteAsNode()method 
public function addDiagramSpriteAsNode(sprite:DiagramSprite, customGraph:IGraph = null, customNodeSpriteMap:Dictionary = null, customSpriteNodeMap:Dictionary = null, customConstraintManager:ConstraintManager = null, customConstraintNodes:Dictionary = null):INode

Adds a node to the graph description of this DiagramProxy from a DiagramSprite instance and returns it.

Parameters
sprite:DiagramSprite — DiagramSprite from which the node properties are set.
 
customGraph:IGraph (default = null)
 
customNodeSpriteMap:Dictionary (default = null)
 
customSpriteNodeMap:Dictionary (default = null)
 
customConstraintManager:ConstraintManager (default = null)
 
customConstraintNodes:Dictionary (default = null)

Returns
INode — Added Node.
addItem()method 
public function addItem(dob:DiagramObject):void

Adds an item (a DiagramObject) to this DiagramProxy (graph and renderer references)

Parameters
dob:DiagramObject — DiagramObject to be added
affilateItem()method 
public function affilateItem(dob:DiagramObject):voidParameters
dob:DiagramObject
animateGroupLinks()method 
public function animateGroupLinks(edges:Array, customTweeners:Array = null, withAnimation:Boolean = true):void

Animates Group In/Out Links

Parameters
edges:Array — Graph representation of the group
 
customTweeners:Array (default = null)
 
withAnimation:Boolean (default = true)
doAnimatedTransition()method 
public function doAnimatedTransition(outEdges:Array = null, customGraph:IGraph = null, customNodeSpriteMap:Dictionary = null, customEdgeLinkMap:Dictionary = null, customTweeners:Array = null, withAnimation:Boolean = true, doTransition:Boolean = true):void

Performs an animated transition from old sprites position to new positions grabbed from the graph (usually after layout)

Parameters
outEdges:Array (default = null)
 
customGraph:IGraph (default = null)
 
customNodeSpriteMap:Dictionary (default = null)
 
customEdgeLinkMap:Dictionary (default = null)
 
customTweeners:Array (default = null)
 
withAnimation:Boolean (default = true)
 
doTransition:Boolean (default = true)
exportGraph()method 
public function exportGraph(layoutType:int):void

Parameters
layoutType:int
getEdgeTypeFromLinkType()method 
protected function getEdgeTypeFromLinkType(linkType:DiagramLinkType):int

Returns an Edge type given a DiagramLinkType

Parameters
linkType:DiagramLinkType — DiagramLinkType with the correspondant type.

Returns
int — Edge Type
getIntermediatePoint()method 
protected function getIntermediatePoint(point1:Point, point2:Point, isHorizontal:Boolean):Point

Determines the intermediate point that links two points in an orthogonal fashion

Parameters
point1:Point — Source Point
 
point2:Point — Target Point
 
isHorizontal:Boolean — Source Segment direction

Returns
Point — Intermediate Point
getLayoutFromType()method 
public function getLayoutFromType(layoutType:int, customGraph:IGraph = null):Layout

Returns a Layout subclass instance according to a layoutType from the Constants class.

Parameters
layoutType:int — Layout type reference according to the Constants definition.
 
customGraph:IGraph (default = null)

Returns
Layout — Layout subclass.
getLinkTypeFromEdge()method 
protected function getLinkTypeFromEdge(edgeType:int):DiagramLinkType

Returns a DiagramLinkType according to an edgeType int (from the Constants class)

Parameters
edgeType:int — Edge Type

Returns
DiagramLinkType — DiagramLinkType with the correspondant type.
getObjectProxy()method 
public function getObjectProxy(dob:DiagramObject):DiagramProxyParameters
dob:DiagramObject

Returns
DiagramProxy
handleDragFinished()method 
public function handleDragFinished(event:DiagramDragEvent):void

Finalizes a drag operation

Parameters
event:DiagramDragEvent
handleDragging()method 
public function handleDragging(event:DiagramDragEvent):void

Handles a drag operation in the rendrer layer and performs required computation

Parameters
event:DiagramDragEvent
handleDragStarted()method 
public function handleDragStarted(event:DiagramDragEvent):voidParameters
event:DiagramDragEvent
importGraph()method 
public function importGraph():IGraph

Returns
IGraph
initLayouts()method 
protected function initLayouts():void
layoutSelection()method 
public function layoutSelection(layoutType:uint, sprites:Array, customOutEdges:Array = null, withAnimation:Boolean = false, doTransition:Boolean = true, tweeners:Array = null, minX:Number = 0, minY:Number = 0):IGraphParameters
layoutType:uint
 
sprites:Array
 
customOutEdges:Array (default = null)
 
withAnimation:Boolean (default = false)
 
doTransition:Boolean (default = true)
 
tweeners:Array (default = null)
 
minX:Number (default = 0)
 
minY:Number (default = 0)

Returns
IGraph
removeGroupElementReferences()method 
public function removeGroupElementReferences(group:DiagramGroup):void

Removes a DiagramGroup references from this DiagramProxy

Parameters
group:DiagramGroup — DiagramGroup of which references will be deleted
removeItem()method 
public function removeItem(dob:DiagramObject):void

Removes an item (a DiagramObject) to this DiagramProxy (graph and renderer references)

Parameters
dob:DiagramObject — DiagramObject to be removed
removeLinkElementReferences()method 
public function removeLinkElementReferences(link:DiagramLink):void

Removes a DiagramLink references from this DiagramProxy

Parameters
link:DiagramLink — DiagramLink of which references will be deleted
removeSpriteElementReferences()method 
public function removeSpriteElementReferences(sprite:DiagramSprite):void

Removes a DiagramSprite references from this DiagramProxy

Parameters
sprite:DiagramSprite — DiagramSprite of which references will be deleted
ungroupGroupElement()method 
public function ungroupGroupElement(group:DiagramGroup):void

Inflicts an ungroup operation in the Diagram to the graph structure and Renderer-GraphLayout maps.

Parameters
group:DiagramGroup — Ungrouped DiagramGroup
updateDiagramLinkFromEdge()method 
protected function updateDiagramLinkFromEdge(edge:IEdge, customGraph:IGraph = null, customEdgeLinkMap:Dictionary = null, customTweeners:Array = null, withAnimation:Boolean = true):void

Updates the DiagramLink referenced by a edge (via the map _edgeLinkMap) by applying the edge properties on it (path). It redraws the DiagramLink according to the Edge content.

Parameters
edge:IEdge — Edge from which the DiagramLink will be updated.
 
customGraph:IGraph (default = null)
 
customEdgeLinkMap:Dictionary (default = null)
 
customTweeners:Array (default = null)
 
withAnimation:Boolean (default = true)
updateDiagramSpriteFromNode()method 
protected function updateDiagramSpriteFromNode(node:INode, customGraph:IGraph = null, customNodeSpriteMap:Dictionary = null, customTweeners:Array = null, withAnimation:Boolean = true, update:Boolean = false):void

Updates the DiagramSprite referenced by a node (via the map _nodeSpriteMap) by applying the node properties on it (placement and size). It redraws the DiagramSprite according to the Node content.

Parameters
node:INode — Node from which the DiagramSprite will be updated.
 
customGraph:IGraph (default = null)
 
customNodeSpriteMap:Dictionary (default = null)
 
customTweeners:Array (default = null)
 
withAnimation:Boolean (default = true)
 
update:Boolean (default = false)
updateEdgeExtremities()method 
protected function updateEdgeExtremities(edge:IEdge, customGraph:IGraph = null, customEdgeLinkMap:Dictionary = null):void

Updates Edge Extremities given its extremity nodes position.

Parameters
edge:IEdge — Edge to update.
 
customGraph:IGraph (default = null)
 
customEdgeLinkMap:Dictionary (default = null)
updateEdgePointsFromLink()method 
protected function updateEdgePointsFromLink(edge:IEdge, link:DiagramLink):void

Updates edge points from a DiagramLink

Parameters
edge:IEdge — Edge to be updated
 
link:DiagramLink — DiagramLink from which updates are grabbed
updateEdgesFromLinks()method 
protected function updateEdgesFromLinks(customGraph:IGraph = null, customedgeLinkMap:Dictionary = null, customNodeSpriteMap:Dictionary = null, customGroupProxies:Dictionary = null):void

Updates graph nodes from their respective sprites

Parameters
customGraph:IGraph (default = null)
 
customedgeLinkMap:Dictionary (default = null)
 
customNodeSpriteMap:Dictionary (default = null)
 
customGroupProxies:Dictionary (default = null)
updateNodePropertiesFromSprite()method 
protected function updateNodePropertiesFromSprite(node:INode, sprite:DiagramObject):void

Updates node properties (size and position) from a given DiagramSprite

Parameters
node:INode — Node to be updated
 
sprite:DiagramObject — DiagramSprite from which updates are grabbed
updateNodesFromSprites()method 
protected function updateNodesFromSprites(customGraph:IGraph = null, customNodeSpriteMap:Dictionary = null, customGroupProxies:Dictionary = null):void

Updates graph nodes from their respective sprites

Parameters
customGraph:IGraph (default = null)
 
customNodeSpriteMap:Dictionary (default = null)
 
customGroupProxies:Dictionary (default = null)
updateReferences()method 
public function updateReferences(dob:DiagramObject):voidParameters
dob:DiagramObject
updateRendererFromGraph()method 
public function updateRendererFromGraph(element:IGraphItem, withAnimation:Boolean = true, update:Boolean = false):void

inheritDoc

Parameters
element:IGraphItem
 
withAnimation:Boolean (default = true)
 
update:Boolean (default = false)