package nai2.graph;

/**
 * @author Daniel "3ICE" Berezvai
 */
public class Edge{
  Node from;
  Node to;

  public Edge(Node from, Node to){
    this.from=from;
    this.to=to;
  }

  @Override
  public String toString(){
    return from.toString()+" → "+to.toString();
  }
}
