update node animation to place nodeId above the packet instead of inside it

This commit is contained in:
2025-11-13 12:08:43 -06:00
parent e00ddf2b64
commit 9d087f7ed0
+1 -1
View File
@@ -388,7 +388,7 @@ class CompleteNodeOnEdgeEngine {
ctx.fillStyle = dotNode.font && dotNode.font.color ? dotNode.font.color : '#000';
ctx.textAlign = 'center';
ctx.textBaseline = 'middle';
ctx.fillText(dotNode.label, dotNode.x, dotNode.y);
ctx.fillText(dotNode.label, dotNode.x, dotNode.y - fontSize);
}
ctx.restore();