@Immutable public class Subgraph extends Object implements ElementContainer, HasId, HasLabel, EdgeEndpoint
| Constructor and Description |
|---|
Subgraph(net.kemitix.node.Node<PackageData> packageDataNode,
String id,
String label,
DotFileFormat dotFileFormat)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(GraphElement graphElement)
Adds an element to the container.
|
String |
render()
Render the graph element for use in a DotFile.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetElementsgetLabelgetPackageDataNodepublic Subgraph(net.kemitix.node.Node<PackageData> packageDataNode, String id, String label, DotFileFormat dotFileFormat)
packageDataNode - the package data node for this subgraphid - the id of the subgraphlabel - the label of the subgraphdotFileFormat - the output formatpublic final boolean add(GraphElement graphElement)
ElementContaineradd in interface ElementContainergraphElement - the element to addpublic final String render()
GraphElementrender in interface GraphElementCopyright © 2016–2018. All rights reserved.