public Node getEdge(String edgeType, Node node1, Node node2) {
		Collection<Node> supernodes1 = node1.getSupernodes(edgeType);
		Collection<Node> supernodes2 = node2.getSupernodes(edgeType);
		
		if (supernodes1 == null || supernodes2 == null) {
			return null;
		}
		
		for (Node sn1 : supernodes1) {
			for (Node sn2 : supernodes2) {
				if (sn1 == sn2) {
					return sn1;
				}
			}
		}
		return null;
	}