minor updates to src/core/legend.js and documentation
minor updates to src/core/legend.js and documentation

henhouse/js-multigraph,henhouse/js-multigraph,multigraph/js-multigraph,henhouse/js-multigraph,multigraph/js-multigraph,multigraph/js-multigraph