labels =
({r = 2, dy = -4, x:{labels}} = {}) =>
(node) =>
{
node
.append("text")
.text(d => d.data.name)
.attr("x", d => d.x + labels)
.attr("dx", ø())
.style("fill", d => d.style?.fontFill)
.style("font-weight", d => d.style?.fontWeight)
.style("font-size", d => d.style?.fontSize)
.style("font-variant", d => d.style?.fontVariant)
.style("text-transform", d => d.style?.textTransform)
.style("stroke", d => d.style?.textStroke)
.style("stroke-width", d => d.style?.textWidth)
;
node.append("circle")
.attr("fill", d => lighter(d.primer || "white"))
.attr("stroke", d => d.style?.circleStroke || d.primer || "black")
.attr("stroke-width", d => d.style?.circleStrokeWidth || 1)
.attr("r", d => d.style?.r || 3)
.attr("cx", d => d.x + labels)
.attr("cy", dy)
;
}