Edge (JGraph v5.12.4.2 API Specification)
Keywords: org.jgraph.graph.Edge interface

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JGraph v5.12.4.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jgraph.graph
Interface Edge

All Superinterfaces:
  GraphCell

All Known Implementing Classes:
  DefaultEdge

public interface Edge
extends GraphCell

Defines the requirements for an object that represents an Edge in a GraphModel.

Nested Class Summary
`static interface` | `Edge.Routing`

Method Summary
`Object` | `getSource()` Returns the source of the edge.
`Object` | `getTarget()` Returns the target of the edge.
`void` | `setSource(Object port)` Sets the source of the edge.
`void` | `setTarget(Object port)` Returns the target of `edge`.

Methods inherited from interface org.jgraph.graph.GraphCell
`changeAttributes, getAttributes, setAttributes`

Method Detail

### getSource

    public Object getSource()

  Returns the source of the edge.

### getTarget

    public Object getTarget()

  Returns the target of the edge.

### setSource

    public void setSource(Object port)

  Sets the source of the edge.

### setTarget

    public void setTarget(Object port)

  Returns the target of `edge`.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| JGraph v5.12.4.2
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright (C) 2001-2008 Gaudenz Alder. All rights reserved.