\n \n {node.mainStat && statToString(node.mainStat.config, node.mainStat.values[node.dataFrameRowIndex])}\n
\n \n {node.secondaryStat &&\n statToString(node.secondaryStat.config, node.secondaryStat.values[node.dataFrameRowIndex])}\n \n
\n \n );\n}\n\n/**\n * Shows the outer segmented circle with different colors based on the supplied data.\n */\nfunction ColorCircle(props: { node: NodeDatum }) {\n const { node } = props;\n const fullStat = node.arcSections.find((s) => s.values[node.dataFrameRowIndex] >= 1);\n const theme = useTheme2();\n const nodeRadius = node.nodeRadius?.values[node.dataFrameRowIndex] || nodeR;\n const strokeWidth = computeNodeCircumferenceStrokeWidth(nodeRadius);\n\n if (fullStat) {\n // Drawing a full circle with a `path` tag does not work well, it's better to use a `circle` tag in that case\n return (\n