public static void addEdges(FlatNode from, FlatNode to) { if (from != null) { from.addEdgeTo(to);
public void addEdges(FlatNode to) {  if (!(this.equals(to))) { this.addEdgeTo(to); to.addIncomingFrom(this);
    public static void addEdges(FlatNode from, FlatNode to) {	if (from != null) {	    from.addEdgeTo(to);	}	if (to != null)	    to.addIncomingFrom(from);    }