Improvements for D3 factor graphs
Merge remote-tracking branch 'origin/dev' into dev