From bf5bf977de7cf7905c82720af411dbbdd5ca37b8 Mon Sep 17 00:00:00 2001 From: Avinash Kumar Deepak Date: Thu, 19 Feb 2026 21:54:06 +0530 Subject: [PATCH] fix: allow dot in node labels after colon --- src/config/defaultValidators.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/defaultValidators.js b/src/config/defaultValidators.js index e2ff463..117c2ef 100644 --- a/src/config/defaultValidators.js +++ b/src/config/defaultValidators.js @@ -1,5 +1,5 @@ const nodeValidator = `(node, nodes, edges) => { - var regex = /^[A-Za-z0-9]+(:[A-Za-z0-9_]+)*$/; + var regex = /^[A-Za-z0-9]+(:[A-Za-z0-9_.]+)*$/; let message = { ok: true, err: null }; if (!regex.test(node.label)) { message = {