Author: tomithy
Date: 2010-07-10 10:20:20 -0700 (Sat, 10 Jul 2010)
New Revision: 20899
Modified:
cytoscapeweb/branches/gsoc2010/demos/src/flare/demos/Layouts.as
Log:
Modified: cytoscapeweb/branches/gsoc2010/demos/src/flare/demos/Layouts.as
===================================================================
--- cytoscapeweb/branches/gsoc2010/demos/src/flare/demos/Layouts.as
2010-07-10 17:18:50 UTC (rev 20898)
+++ cytoscapeweb/branches/gsoc2010/demos/src/flare/demos/Layouts.as
2010-07-10 17:20:20 UTC (rev 20899)
@@ -174,7 +174,11 @@
removeChild(_GBEB);
trace ("Layouts: Tracing sequences! " + name);
- if(_GBEB != null) _GBEB = null;
+ if(_GBEB != null)
+ {
+ _GBEB.cleanup();
+ _GBEB = null;
+ }
_GBEB = new GBEB(vis.data);
addChild(_GBEB);
_GBEB.updateBounds(bounds);
@@ -221,12 +225,12 @@
update: true,
ctrl: new DragControl(NodeSprite)
},
- {
+ /*{
name: "Indent",
op: new IndentedTreeLayout(20),
param: {layoutAnchor: new
Point(350,40)},
straighten: true
- },
+ }, */
{
name: "Radial",
op: new RadialTreeLayout(50, false),
@@ -237,8 +241,8 @@
op: new CircleLayout(null, null, true),
param: {angleWidth: -2*Math.PI},
ctrl: new DragControl(NodeSprite)
- },
- {
+ }//,
+ /* {
name: "Dendrogram",
op: new DendrogramLayout(),
nodes: {alpha: 0, visible: false},
@@ -272,7 +276,7 @@
param: {angleWidth: -2*Math.PI},
nodes: {shape: Shapes.WEDGE, lineColor:
0xffffffff},
edges: {alpha: 0, visible:false}
- }
+ } */
];
// default values
--
You received this message because you are subscribed to the Google Groups
"cytoscape-cvs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cytoscape-cvs?hl=en.