org.geneontology.lego.model2
Class LegoGraph
java.lang.Object
org.geneontology.lego.model2.LegoGraph
public class LegoGraph
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LegoGraph
public LegoGraph(List<LegoUnit> units,
List<LegoNode> nodes)
- Parameters:
units
- nodes
-
getUnits
public List<LegoUnit> getUnits()
- The units are for display purposes only.
For the full model use nodes and links.
- Returns:
- the units
getNodes
public List<LegoNode> getNodes()
- Returns:
- the nodes
getLinks
public List<LegoLink> getLinks()
- Extract the whole list of links form the nodes
- Returns:
- list of nodes
Copyright © 2012-2013. All Rights Reserved.