Package org.cytoscape.view.model
Interface SnapshotEdgeInfo
-
public interface SnapshotEdgeInfoContains additional info about aView<CyEdge>obtained from aCyNetworkViewSnapshot.- Since:
- 3.8
- See Also:
CyNetworkViewSnapshot.getEdgeInfo(View)
Module:
viewmodel-apiTo use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>viewmodel-api</artifactId> </dependency>
Cytoscape Backwards Compatibility (SPI Interface): We expect that this interface will be implemented. Therefore to maintain backwards compatibility this interface will only be modified for major version updates.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description LonggetModelSUID()Returns the SUID of the underlying model object.View<CyNode>getSourceNodeView()Returns the source node view;longgetSourceViewSUID()Returns the SUID of the source node view.LonggetSUID()Returns the view SUID of the edge view.View<CyNode>getTargetNodeView()Returns the target node view;longgetTargetViewSUID()Returns the SUID of the target node view.booleanisDirected()Returns true if the edge is directed.
-
-
-
Method Detail
-
getSUID
Long getSUID()
Returns the view SUID of the edge view. Equivalent to callingCyIdentifiable.getSUID()
-
getModelSUID
Long getModelSUID()
Returns the SUID of the underlying model object. Equivalent to callingCyIdentifiable.getSUID()
-
getSourceViewSUID
long getSourceViewSUID()
Returns the SUID of the source node view.
-
getTargetViewSUID
long getTargetViewSUID()
Returns the SUID of the target node view.
-
isDirected
boolean isDirected()
Returns true if the edge is directed.
-
-