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 Details

    • getSUID

      Long getSUID()
      Returns the view SUID of the edge view. Equivalent to calling CyIdentifiable.getSUID()
    • getModelSUID

      Long getModelSUID()
      Returns the SUID of the underlying model object. Equivalent to calling CyIdentifiable.getSUID()
    • getSourceViewSUID

      long getSourceViewSUID()
      Returns the SUID of the source node view.
    • getSourceNodeView

      View<CyNode> getSourceNodeView()
      Returns the source node view;
    • getTargetViewSUID

      long getTargetViewSUID()
      Returns the SUID of the target node view.
    • getTargetNodeView

      View<CyNode> getTargetNodeView()
      Returns the target node view;
    • isDirected

      boolean isDirected()
      Returns true if the edge is directed.