Edge.setTarget and Edge.setSource bug fixed.