V
- the node typepublic class Edge<V> extends Object implements ToolTipsable
Constructor and Description |
---|
Edge(Graph<V,?> g,
V source,
V target)
create a edge.
|
Modifier and Type | Method and Description |
---|---|
V |
getSource()
Get the source of this edge.
|
V |
getTarget()
Get the target of this edge.
|
String |
toString() |
String |
toToolTip()
retrieve the tooltip text
|
public V getSource()
public V getTarget()
public String toToolTip()
ToolTipsable
toToolTip
in interface ToolTipsable
Copyright © 2005–2020. All rights reserved.