Add exporting data for gephi

Signed-off-by: Wu Long <wulong@comp.nus.edu.sg>