Interface SnapshotEdgeInfo


  • public interface SnapshotEdgeInfo
    Contains additional info about a View<CyEdge> obtained from a CyNetworkViewSnapshot.
    Since:
    3.8
    See Also:
    CyNetworkViewSnapshot.getEdgeInfo(View)

    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>

    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 Detail

      • 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.