public class DomainStruct extends Object
Constructor and Description |
---|
DomainStruct() |
Modifier and Type | Method and Description |
---|---|
void |
addEdge(org.sbml.jsbml.ListOf<org.sbml.jsbml.ext.spatial.AdjacentDomains> load)
Add edges to the graph structure of an inclusion relationship of domains.
|
void |
addVertex(org.sbml.jsbml.ListOf<org.sbml.jsbml.ext.spatial.Domain> lod)
Add vertices to the graph structure of an inclusion relationship of domains.
|
org.sbml.jsbml.ext.spatial.DomainType |
getDomainType(String spId)
Get domain type by given SpatialId.
|
GraphStruct |
getGraphStruct()
Gets the graph structure.
|
static void |
main(String[] args)
Example main() method which will launch a GUI and draw an inclusion relationship of domains as a graph.
|
void |
setGraphStruct(GraphStruct graphStruct)
Sets the graph structure.
|
void |
show(org.sbml.jsbml.ext.spatial.Geometry geometry)
Visualize the graph structure of an inclusion relationship of domains.
|
public void show(org.sbml.jsbml.ext.spatial.Geometry geometry)
geometry
- the geometry obtained from SBML modelpublic void addEdge(org.sbml.jsbml.ListOf<org.sbml.jsbml.ext.spatial.AdjacentDomains> load)
load
- the list of AdjacentDomainspublic void addVertex(org.sbml.jsbml.ListOf<org.sbml.jsbml.ext.spatial.Domain> lod)
lod
- the list of Domainspublic org.sbml.jsbml.ext.spatial.DomainType getDomainType(String spId)
spId
- the SpatialId of domain type as Stringpublic GraphStruct getGraphStruct()
public void setGraphStruct(GraphStruct graphStruct)
graphStruct
- the new graph structurepublic static void main(String[] args)
args
- an array of command-line arguments for the applicationCopyright © 2017–2019 Funahashi Lab.. All rights reserved.