I am basing my question on the following example: http://bl.ocks.org/mbostock/1153292
If I create two links with the same source and target, say
{source: "Microsoft", target: "HTC", type: "licensing"},
{source: "Microsoft", target: "HTC", type: "suit"},
then the two links will sit on top of each other and only one will be visible. How can I rewrite the code so that in this case the two links would form a loop just as it happens for two links with inverted sources and targets, for example
{source: "Microsoft", target: "Motorola", type: "suit"},
{source: "Motorola", target: "Microsoft", type: "suit"},