T
- type of vertices in the networkpublic interface SocialNetworkVisualization<T>
Modifier and Type | Interface and Description |
---|---|
static class |
SocialNetworkVisualization.Factory |
static class |
SocialNetworkVisualization.Library |
Modifier and Type | Method and Description |
---|---|
void |
addArc(T from,
T to) |
void |
addVertex(T vertex) |
void |
clear() |
boolean |
containsArc(T from,
T to) |
boolean |
containsVertex(T vertex) |
javax.swing.JComponent |
get() |
java.lang.String |
getArcLabel(T from,
T to) |
SocialNetworkVisualization.Library |
getLibrary() |
void |
removeArc(T from,
T to) |
void |
removeVertex(T vertex) |
void |
setArcLabel(T from,
T to,
java.lang.String label) |
void |
setArcLabelStyle(T from,
T to,
SocialNetworkArcLabelStyle style) |
void |
setArcStyle(T from,
T to,
SocialNetworkArcStyle... styles) |
void |
setArcStyle(T from,
T to,
SocialNetworkArcStyle style) |
void |
setVertexLabel(T node,
java.lang.String label) |
void |
setVertexStyle(T node,
SocialNetworkVertexStyle style) |
void addVertex(T vertex)
boolean containsVertex(T vertex)
void clear()
javax.swing.JComponent get()
SocialNetworkVisualization.Library getLibrary()
void setArcLabelStyle(T from, T to, SocialNetworkArcLabelStyle style)
void setArcStyle(T from, T to, SocialNetworkArcStyle style)
void setArcStyle(T from, T to, SocialNetworkArcStyle... styles)
void setVertexLabel(T node, java.lang.String label)
void setVertexStyle(T node, SocialNetworkVertexStyle style)
void removeVertex(T vertex)