All Downloads are FREE. Search and download functionalities are using the official Maven repository.

salvo.jesus.graph.LabeledEdge Maven / Gradle / Ivy

Go to download

This is a modified version of the OpenJGraph library (https://sourceforge.net/projects/openjgraph/), used in the JInsect library.

The newest version!
package salvo.jesus.graph;

/**
 * An extension of the LabeledGraphComponent interface specific for an Edge.
 * Specifically, thie interface defines methods on whether or not edges labels
 * take their labels from the vertices.
 *
 * @author Jesus M. Salvo Jr.
 * @version $Id: LabeledEdge.java,v 1.2 2002/08/29 13:20:20 jmsalvo Exp $
 */

public interface LabeledEdge extends LabeledGraphComponent {

  /**
   * @return whether or not it follows the labels of its vertices, including
   * any changes, to make sure the label for the edge is consistent with the
   * label of the vertex.
   */
  public boolean isFollowVertexLabel();

  /**
   * Specifies if the edge should follow the labels of its vertices.
   */
  public void setFollowVertexLabel( boolean isFollow );
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy