- All Superinterfaces:
public interface CyEdge extends CyIdentifiable
An object that represents an edge within a network of nodes (vertices) and edges.
To use this in your app, include the following dependency in your POM:
<dependency> <groupId>org.cytoscape</groupId> <artifactId>model-api</artifactId> </dependency>
Cytoscape Backwards Compatibility (API Interface): We expect that this interface will be used but not implemented by developers using this interface. As such, we reserve the right to add methods to the interface as part of minor version upgrades. We will not remove methods for any changes other than major version upgrades.
Nested Class Summary
Field SummaryModifier and TypeFieldDescription
static final StringA String column created by default for every CyEdge that holds the interaction description of the edge.
getSourceCyNode getSource()Returns the source node determining this edge. It will never be null. For undirected networks this method will consistently return the same node.
- The source node of this edge.
getTargetCyNode getTarget()Returns the target node determining this edge. It will never be null. For undirected networks this method will consistently return the same node.
- The target node of this edge.
isDirectedboolean isDirected()This will return true if the edge is directed and false if the node is undirected.
- Returns true if this edge is directed and false if the node is undirected.