Interface ConnectionLayout
public interface ConnectionLayout
- Since:
- 2.0
- 
Method SummaryModifier and TypeMethodDescriptiondoublebooleanChecks if this connection is directed.booleanChecks the visibility state of this connection.voidsetVisible(boolean visible) Changes the visibility state of this connection.
- 
Method Details- 
getSourceNodeLayout getSource()
- 
getTargetNodeLayout getTarget()
- 
getWeightdouble getWeight()- Returns:
- weight assigned to this connection
 
- 
isDirectedboolean isDirected()Checks if this connection is directed. For undirected connections, source and target nodes should be considered just adjacent nodes without dividing to source/target.- Returns:
- true if this connection is directed
 
- 
setVisiblevoid setVisible(boolean visible) Changes the visibility state of this connection.- Parameters:
- visible- true if this connection should be visible, false otherwise
 
- 
isVisibleboolean isVisible()Checks the visibility state of this connection.- Returns:
- true if this connection is visible, false otherwise
 
 
-