|
Cytoscape 3.0.0-alpha8-SNAPSHOT API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CyLayoutAlgorithm<T extends CyLayoutContext>
An extension of NetworkViewTaskFactory specific to layout algorithms.
| Method Summary | |
|---|---|
T |
createLayoutContext()
|
TaskIterator |
createTaskIterator(T layoutContext)
|
List<String> |
getInitialAttributeList()
This returns a (possibly empty) List of Strings that is used for the attribute list in the menu for attribute-based layouts. |
String |
getName()
Returns the computer-readable name of the layout. |
boolean |
isReady(T layoutContext)
|
Set<Class<?>> |
supportsEdgeAttributes()
Tests to see if this layout supports doing a layout based on edge attributes. |
Set<Class<?>> |
supportsNodeAttributes()
Tests to see if this layout supports doing a layout based on node attributes. |
boolean |
supportsSelectedOnly()
Tests to see if this layout supports doing a layout on a subset of the nodes in this network view. |
| Method Detail |
|---|
TaskIterator createTaskIterator(T layoutContext)
boolean isReady(T layoutContext)
T createLayoutContext()
boolean supportsSelectedOnly()
Set<Class<?>> supportsNodeAttributes()
Set<Class<?>> supportsEdgeAttributes()
List<String> getInitialAttributeList()
String getName()
|
Cytoscape 3.0.0-alpha8-SNAPSHOT API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||