{
const svg = d3.create("svg").attr("width", height).attr("height", height);
if (showLand) {
svg
.append("g")
.attr("fill", "rgba(100, 0, 0, 0.06)")
.attr("stroke", "none")
.append("path")
.attr("d", landPaths["無し"]);
}
lineTypes.forEach((lt) => {
svg
.append("g")
.attr("fill", "none")
.attr("stroke", "#555")
.style("stroke-width", 0.2)
.append("path")
.attr("d", landPaths[lt]);
});
return svg.node();
}