|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SubGraph
Interface to be implemented by classes providing the subgraph feature. A subgraph is a named node container which is primarily used as a storage helper by graphs. Compared to a graph, a subgraph lacks the factory/manager feature as well as the possibility to hierarchically store nodes using containers like subgraphs.
| Method Summary | |
|---|---|
void |
addNode(Node node)
Add a new node to the container. |
java.lang.String |
getName()
Returns the graph's name. |
| Methods inherited from interface net.ggtools.grand.graph.NodeContainer |
|---|
getNode, getNodes, hasNode |
| Method Detail |
|---|
void addNode(Node node)
throws DuplicateElementException
node - Node to be added.
DuplicateElementException - if a node with the same name already exists in the container.java.lang.String getName()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||