IN directivedForceGraph directive: generate JSON for links sucessed