public class NetworkGraph extends Object
Modifier and Type | Field and Description |
---|---|
protected String |
styleSheet |
Constructor and Description |
---|
NetworkGraph()
default constructor that initializes the cals with a simple sample network and displays it.
|
NetworkGraph(StringBuilder izSb)
default constructor that initializes the cals with a simple sample network and displays it.
|
Modifier and Type | Method and Description |
---|---|
protected void |
addSampleEdges(Graph graph)
Adds a sample set of edges to the graph for demo purposes.
|
protected void |
addSampleEdges(Graph graph,
StringBuilder sb)
Addes edges to the graph based on the contents of the passed in StringBuiler that holds a delimeted .
|
private String |
createIzoneVertexName(String fdr,
String iz,
String deviceType,
String deviceSysID) |
private String |
createIzoneVertexName(String fdr,
String iz,
String deviceType,
String deviceSysID,
String deviceCapacity) |
private String |
createIzoneVertexName(String fdr,
String iz,
String deviceType,
String deviceSysID,
String deviceCapacity,
String custCount) |
private void |
createSubstationCircuits(StringBuffer sb)
Takes a IZ StringBuffer and creATES THE GRAPH.
|
void |
explore(Node source) |
static void |
main(String[] args)
Main method for testing from the commandline.
|
protected void |
sleep()
simple method to sleep the current thread and hides and interupted exceptions.
|
protected String styleSheet
public NetworkGraph()
public NetworkGraph(StringBuilder izSb)
protected void sleep()
protected void addSampleEdges(Graph graph)
protected void addSampleEdges(Graph graph, StringBuilder sb)
private void createSubstationCircuits(StringBuffer sb)
private String createIzoneVertexName(String fdr, String iz, String deviceType, String deviceSysID)
private String createIzoneVertexName(String fdr, String iz, String deviceType, String deviceSysID, String deviceCapacity)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses