修改节点、管道的标签文字颜色为黑色,提高阅读性

This commit is contained in:
JIANG
2025-10-29 17:27:00 +08:00
parent 09d037fd5a
commit d4c7888906

View File

@@ -486,7 +486,7 @@ const MapComponent: React.FC<MapComponentProps> = ({ children }) => {
d[pipeText] ? (d[pipeText] as number).toFixed(3) : "",
getSize: 18,
fontWeight: "bold",
getColor: [51, 153, 204],
getColor: [0, 0, 0],
getAngle: (d: any) => d.angle || 0,
getPixelOffset: [0, -8],
getTextAnchor: "middle",