Add doc and minor simplification to buildAdjacencyGraph()
Add doc and minor simplification to buildAdjacencyGraph()

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