|
Cytoscape 2.4.1 (c) 2006,2007 ISB, MSKCC, UCSD | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcytoscape.data.readers.AbstractGraphReader
cytoscape.data.readers.GMLReader
public class GMLReader
This class is responsible for converting a gml object tree into cytoscape objects New features to the current version: 1. Small bug fixes. 2. Translate all features in the GML file. This includes 3. New Visual Style will be generated when you call this class. The new style saves all visual features (like node shape) and will not be lost even after other style selected.
Constructor Summary | |
---|---|
GMLReader(String filename)
Constructor. |
|
GMLReader(String filename,
cytoscape.task.TaskMonitor taskMonitor)
Constructor. |
Method Summary | |
---|---|
void |
applyMaps(String mapSuffix,
String VSName)
|
void |
doPostProcessing(CyNetwork net)
Executes post-processing: no-op. |
void |
extract()
|
Color |
getColor(String colorString)
Create a color object from the string like it is stored in a gml file |
int[] |
getEdgeIndicesArray()
Part of interace contract |
static LineType |
getLineType(int width)
|
List |
getList()
Returns a list containing the gml object tree |
int[] |
getNodeIndicesArray()
Part of interface contract |
void |
layout(GraphView myView)
Lays out the graph. |
void |
read()
Reads/imports the graph. |
void |
setEdgeMaps(VisualMappingManager vizmapper)
|
void |
setNodeMaps(VisualMappingManager vizmapper)
|
void |
showMaps()
|
Methods inherited from class cytoscape.data.readers.AbstractGraphReader |
---|
getEdgeAttributes, getNetworkName, getNodeAttributes, getRootGraph, read |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GMLReader(String filename)
filename
- File name.public GMLReader(String filename, cytoscape.task.TaskMonitor taskMonitor)
filename
- File name.taskMonitor
- TaskMonitor Object.Method Detail |
---|
public void setNodeMaps(VisualMappingManager vizmapper)
public void setEdgeMaps(VisualMappingManager vizmapper)
public void applyMaps(String mapSuffix, String VSName)
public void read()
GraphReader
read
in interface GraphReader
read
in class AbstractGraphReader
public List getList()
public void layout(GraphView myView)
GraphReader
layout
in interface GraphReader
layout
in class AbstractGraphReader
public void extract()
public static LineType getLineType(int width)
public void showMaps()
public int[] getNodeIndicesArray()
getNodeIndicesArray
in interface GraphReader
getNodeIndicesArray
in class AbstractGraphReader
public int[] getEdgeIndicesArray()
getEdgeIndicesArray
in interface GraphReader
getEdgeIndicesArray
in class AbstractGraphReader
public Color getColor(String colorString)
public void doPostProcessing(CyNetwork net)
AbstractGraphReader
doPostProcessing
in interface GraphReader
doPostProcessing
in class AbstractGraphReader
|
www.cytoscape.org | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |