N - the node type of the arrangementpublic abstract class FocusArrangement<N> extends AbstractArrangement<N>
| Constructor and Description |
|---|
FocusArrangement() |
| Modifier and Type | Method and Description |
|---|---|
<E> N |
focusOnMostConnected(Graph<N,E> graph)
Select the most connected graph node to focus on.
|
N |
getFocusNode()
Get the current focus node
|
void |
setFocusNode(N node)
Set the current focus node
|
getMargin, getNodeLocation, getSize, invalidate, setMargin, setNodeLocation, setSize, setSizepublic <E> N focusOnMostConnected(Graph<N,E> graph)
E - The edge class of the graphgraph - The graph to select the node frompublic N getFocusNode()
public void setFocusNode(N node)
node - the focus node