| Modifier and Type | Field and Description |
|---|---|
protected List<T> |
nodes |
protected String |
regex |
| Constructor and Description |
|---|
DirectedGraph()
Default empty constructor
|
| Modifier and Type | Method and Description |
|---|---|
T |
getNode(int index)
Retrieve a node given its index
|
List<T> |
getNodes() |
String |
getRegex() |
String |
layout(int width,
int height) |
void |
setRegex(String regex) |
String |
toHtmlString() |
String |
toString() |
int |
V() |
public T getNode(int index)
index - is the index of the nodepublic int V()
public String layout(int width, int height)
public String toHtmlString()
public String getRegex()
public void setRegex(String regex)
regex - the regex to setCopyright © 2017. All rights reserved.