Remove conditional that returns the same value on both branches (S3923)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-10 00:32:50 +08:00
parent 4e5129ca13
commit f0065db295

View File

@@ -189,9 +189,7 @@ export default function cytoscapeMap(
width: "data(width)", width: "data(width)",
color: "data(textColor)", color: "data(textColor)",
"line-height": "0.7rem", "line-height": "0.7rem",
"font-size": function (node) { "font-size": 14,
return node.data("type") === "activity" ? 14 : 14;
},
}, },
}, },
// Edge styling // Edge styling