A simple way to handle if there are multiple links between to nodes in the force directed layout implemented in D3.js.
Based on the links type, create links filter. The graph shows only selected link type.