initial work on D3layout implementation