Lines Matching refs:layout
321 var layout = new mxHierarchicalLayout(graph, mxConstants.DIRECTION_WEST);
326 layout.execute(graph.getDefaultParent(), selectionCells.length == 0 ? null : selectionCells);
331 var layout = new mxHierarchicalLayout(graph, mxConstants.DIRECTION_NORTH);
336 layout.execute(graph.getDefaultParent(), selectionCells.length == 0 ? null : selectionCells);
364 var layout = new mxCompactTreeLayout(graph, true);
365 layout.edgeRouting = false;
366 layout.levelDistance = 30;
368 promptSpacing(layout.levelDistance, mxUtils.bind(this, function(newValue)
370 layout.levelDistance = newValue;
374 layout.execute(graph.getDefaultParent(), tmp);
403 var layout = new mxCompactTreeLayout(graph, false);
404 layout.edgeRouting = false;
405 layout.levelDistance = 30;
407 promptSpacing(layout.levelDistance, mxUtils.bind(this, function(newValue)
409 layout.levelDistance = newValue;
413 layout.execute(graph.getDefaultParent(), tmp);
442 var layout = new mxRadialTreeLayout(graph, false);
443 layout.levelDistance = 80;
444 layout.autoRadius = true;
446 promptSpacing(layout.levelDistance, mxUtils.bind(this, function(newValue)
448 layout.levelDistance = newValue;
452 layout.execute(graph.getDefaultParent(), tmp);
470 var layout = new mxFastOrganicLayout(graph);
472 promptSpacing(layout.forceConstant, mxUtils.bind(this, function(newValue)
474 layout.forceConstant = newValue;
485 layout.execute(tmp);
496 var layout = new mxCircleLayout(graph);
507 layout.execute(tmp);