Fix multigraph handling with node-link format.

Addresses #827
Whitespace cleanup