Fix alignment
Fix alignment

Previously we set innerRight to the length of the current layer. We
should have set innerRight to the length of the previous layer - 1.
innerLefet and innerRight are tracking nodes incident on an inner
segment from the previous layer.

Fixes #6.

git-ashish/dagre-d3,lmcorbo/dagre,cbfx/dagre-d3,dominiek/dagre-d3,kdawes/dagre,leMaik/graphlib-dot,cpettitt/dagre-d3,witcxc/dagre,git-ashish/dagre-d3,lmcorbo/dagre,rwl/dagre_charted,cbfx/dagre-d3,ENCODE-DCC/dagre-d3,tylingsoft/dagre-layout,lmcorbo/dagre,abduld/dagre,kdawes/dagre,ENCODE-DCC/dagre-d3,GerHobbelt/dagre,cpettitt/dagre-d3,harsha-mudi/dagre-d3,dagrejs/dagre-d3,9n/dagre-d3,git-ashish/dagre-d3,witcxc/dagre,rwl/dagre,9n/dagre,harsha-mudi/dagre-d3,abduld/dagre,9n/dagre-d3,leMaik/graphlib-dot,cpettitt/graphlib-dot,kdawes/dagre,cbfx/dagre-d3,cpettitt/dagre-d3,cpettitt/graphlib-dot,abduld/dagre,rwl/graphlib_dot,dominiek/dagre-d3,9n/dagre-d3,GerHobbelt/dagre,dominiek/dagre-d3,dagrejs/dagre-d3,shelsonjava/dagre,cpettitt/dagre,tylingsoft/dagre-layout,cpettitt/dagre,cpettitt/dagre,rwl/dagre_charted,shelsonjava/dagre,9n/dagre,shelsonjava/dagre,GerHobbelt/dagre,rwl/dagre_charted,9n/dagre