removed 'degree' field because not used.
refactor: clean up svg element creation ambiguities.
refactor: extract zoom into functions
refactor: extract hierarchy methods
refactor: use a generator to look up node names
refactor: use a lookup function to map names to nodes
refactor: pass parameters to getWeightDomain
describe reason for two link groups