public interface CyLayoutAlgorithmManager
Module: layout-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>layout-api</artifactId> </dependency>
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_LAYOUT_NAME
The name of the default layout.
|
static String |
DEFAULT_LAYOUT_PROPERTY_NAME
The name of the default layout property.
|
Modifier and Type | Method and Description |
---|---|
Collection<CyLayoutAlgorithm> |
getAllLayouts()
Returns a collection of all available layouts.
|
CyLayoutAlgorithm |
getDefaultLayout()
Returns Cytoscape's default layout.
|
CyLayoutAlgorithm |
getLayout(String name)
Returns a layout algorithm of the specified name and null if no
algorithm exists with that name.
|
CyLayoutAlgorithm |
setDefaultLayout(CyLayoutAlgorithm layout)
Changes Cytoscape's default layout.
|
static final String DEFAULT_LAYOUT_NAME
static final String DEFAULT_LAYOUT_PROPERTY_NAME
CyLayoutAlgorithm getLayout(String name)
name
- The name of the algorithm.Collection<CyLayoutAlgorithm> getAllLayouts()
CyLayoutAlgorithm getDefaultLayout()
CyLayoutAlgorithm setDefaultLayout(CyLayoutAlgorithm layout)
layout
- The new default algorithmCopyright 2011-2015 Cytoscape Consortium. All rights reserved.