Package org.cytoscape.view.model
Interface SnapshotEdgeInfo
public interface SnapshotEdgeInfo
Contains additional info about a
View<CyEdge>
obtained from a CyNetworkViewSnapshot
.- Since:
- 3.8
- See Also:
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.
Module: viewmodel-api
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>viewmodel-api</artifactId> </dependency>
-
Method Summary
Modifier and TypeMethodDescriptionReturns the SUID of the underlying model object.Returns the source node view;long
Returns the SUID of the source node view.getSUID()
Returns the view SUID of the edge view.Returns the target node view;long
Returns the SUID of the target node view.boolean
Returns true if the edge is directed.
-
Method Details
-
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. -
getSourceNodeView
Returns the source node view; -
getTargetViewSUID
long getTargetViewSUID()Returns the SUID of the target node view. -
getTargetNodeView
Returns the target node view; -
isDirected
boolean isDirected()Returns true if the edge is directed.
-