Description
Proposal:
var gBuilder = GraphUtils.GraphBuilder.directed(Customer.class); gBuilder .addNode(new Customer("A")) .addNode(new Customer("B")) .addEdge(0, 1, 0.1); // weight of 0.1
If not feasible, at least we need some generic edge indexing.