Packagecom.yworks.yfiles.layout.planar
Classpublic class DrawingEmbedder
InheritanceDrawingEmbedder Inheritance YObject Inheritance Object
Implements Embedder

Computes a planar embedding from a planar drawing of a graph.



Public Properties
 PropertyDefined By
  keepBends : Boolean
Specifies if bends should be replaced by dummy nodes.
DrawingEmbedder
  noLayoutEdgeMap : EdgeMap
[write-only] Sets the map, for which edges the layout information cannot be used.
DrawingEmbedder
  noLayoutNodeMap : NodeMap
[write-only] Sets the map, for which nodes the layout information cannot be used.
DrawingEmbedder
  planarInformation : PlanarInformation
[write-only] Sets the input planar information.
DrawingEmbedder
Public Methods
 MethodDefined By
  
DrawingEmbedder(init:Boolean = true)
DrawingEmbedder
  
dispose():void
Dispose unused information.
DrawingEmbedder
  
embed():void
Calculate planar embedding.
DrawingEmbedder
 Inherited
equals(o:Object):Boolean
YObject
  
getClass():Class
[override]
DrawingEmbedder
 Inherited
hashCode():int
YObject
  
[static]
DrawingEmbedder
Protected Methods
 MethodDefined By
  
DrawingEmbedder
Property Detail
keepBendsproperty
keepBends:Boolean

Specifies if bends should be replaced by dummy nodes.


Implementation
    public function get keepBends():Boolean
    public function set keepBends(value:Boolean):void
noLayoutEdgeMapproperty 
noLayoutEdgeMap:EdgeMap  [write-only]

Sets the map, for which edges the layout information cannot be used. These edges will be routed automatically.


Implementation
    public function set noLayoutEdgeMap(value:EdgeMap):void
noLayoutNodeMapproperty 
noLayoutNodeMap:NodeMap  [write-only]

Sets the map, for which nodes the layout information cannot be used. Edges adjacent to these nodes will be routed automatically.


Implementation
    public function set noLayoutNodeMap(value:NodeMap):void
planarInformationproperty 
planarInformation:PlanarInformation  [write-only]

Sets the input planar information.


Implementation
    public function set planarInformation(value:PlanarInformation):void
Constructor Detail
DrawingEmbedder()Constructor
public function DrawingEmbedder(init:Boolean = true)



Parameters
init:Boolean (default = true)
Method Detail
dispose()method
public function dispose():void

Dispose unused information.

embed()method 
public function embed():void

Calculate planar embedding.

getClass()method 
override public function getClass():Class

Returns
Class
initDrawingEmbedder()method 
protected final function initDrawingEmbedder():void

newDrawingEmbedder()method 
public static function newDrawingEmbedder():DrawingEmbedder

Returns
DrawingEmbedder