| Package | com.kapit.diagram.proxies |
| Class | public class GroupDiagramProxy |
| Inheritance | GroupDiagramProxy DiagramProxy |
| Method | Defined by | ||
|---|---|---|---|
|
GroupDiagramProxy(topLevelProxy:DiagramProxy, graph:IGraph, group:DiagramGroup, groupProxies:Dictionary)
| GroupDiagramProxy | ||
![]() |
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 | |
![]() |
addItem(dob:DiagramObject):void
Adds an item (a DiagramObject) to this DiagramProxy (graph and renderer references)
| DiagramProxy | |
![]() |
affilateItem(dob:DiagramObject):void
| 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
| GroupDiagramProxy | ||
![]() |
getLayoutFromType(layoutType:int, customGraph:IGraph = null):Layout
Returns a Layout subclass instance according to a layoutType from the Constants class.
| DiagramProxy | |
![]() | DiagramProxy | ||
![]() |
handleDragFinished(event:DiagramDragEvent):void
Finalizes a drag operation
| DiagramProxy | |
![]() |
handleDragging(event:DiagramDragEvent):void
Handles a drag operation in the rendrer layer and performs required computation
| DiagramProxy | |
![]() |
handleDragStarted(event:DiagramDragEvent):void
| DiagramProxy | |
|
importGraph():IGraph
| GroupDiagramProxy | ||
![]() |
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 | |
![]() |
removeGroupElementReferences(group:DiagramGroup):void
Removes a DiagramGroup references from this DiagramProxy
| DiagramProxy | |
![]() |
removeItem(dob:DiagramObject):void
Removes an item (a DiagramObject) to this DiagramProxy (graph and renderer references)
| DiagramProxy | |
![]() |
removeLinkElementReferences(link:DiagramLink):void
Removes a DiagramLink references from this DiagramProxy
| DiagramProxy | |
![]() |
removeSpriteElementReferences(sprite:DiagramSprite):void
Removes a DiagramSprite references from this DiagramProxy
| DiagramProxy | |
![]() |
ungroupGroupElement(group:DiagramGroup):void
Inflicts an ungroup operation in the Diagram to the graph structure and Renderer-GraphLayout maps.
| DiagramProxy | |
![]() |
updateReferences(dob:DiagramObject):void
| DiagramProxy | |
![]() |
updateRendererFromGraph(element:IGraphItem, withAnimation:Boolean = true, update:Boolean = false):void
inheritDoc
| DiagramProxy | |
| Method | Defined by | ||
|---|---|---|---|
|
animFinishedHandler(event:TweenEngineEvent):void
Called when animation is finished
| GroupDiagramProxy | ||
![]() |
getEdgeTypeFromLinkType(linkType:DiagramLinkType):int
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 | |
![]() |
getLinkTypeFromEdge(edgeType:int):DiagramLinkType
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 | |
![]() |
updateNodePropertiesFromSprite(node:INode, sprite:DiagramObject):void
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 | |
|
validateGroupPosition(event:TweenEngineEvent):void
Validates a group position after a translate animation (occuring when group position is negative)
| GroupDiagramProxy | ||
| renderer | property |
renderer:Object [read-write]Implementation
public function get renderer():Object
public function set renderer(value:Object):void
| source | property |
source:Object [read-write]Implementation
public function get source():Object
public function set source(value:Object):void
| GroupDiagramProxy | () | constructor |
public function GroupDiagramProxy(topLevelProxy:DiagramProxy, graph:IGraph, group:DiagramGroup, groupProxies:Dictionary)Parameters
topLevelProxy:DiagramProxy |
|
graph:IGraph |
|
group:DiagramGroup |
|
groupProxies:Dictionary |
| animFinishedHandler | () | method |
protected function animFinishedHandler(event:TweenEngineEvent):voidCalled when animation is finished
Parametersevent:TweenEngineEvent |
| exportGraph | () | method |
public override function exportGraph(layoutType:int):voidParameters
layoutType:int |
| importGraph | () | method |
public override function importGraph():IGraphReturns
IGraph |
| validateGroupPosition | () | method |
protected function validateGroupPosition(event:TweenEngineEvent):voidValidates a group position after a translate animation (occuring when group position is negative)
Parametersevent:TweenEngineEvent |