MCPcopy
hub / github.com/mewo2/terrain / drawPaths

Function drawPaths

terrain.js:717–726  ·  view source on GitHub ↗
(svg, cls, paths)

Source from the content-addressed store, hash-verified

715}
716
717function drawPaths(svg, cls, paths) {
718 var paths = svg.selectAll('path.' + cls).data(paths)
719 paths.enter()
720 .append('path')
721 .classed(cls, true)
722 paths.exit()
723 .remove();
724 svg.selectAll('path.' + cls)
725 .attr('d', makeD3Path);
726}
727
728function visualizeSlopes(svg, render) {
729 var h = render.h;

Callers 4

visualizeDownhillFunction · 0.85
visualizeContourFunction · 0.85
visualizeBordersFunction · 0.85
drawMapFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…