diff --git a/src/trame_flow/module/core.py b/src/trame_flow/module/core.py index 45d6633..7c27416 100644 --- a/src/trame_flow/module/core.py +++ b/src/trame_flow/module/core.py @@ -100,7 +100,7 @@ def create_node( if style: node["style"] = style if data: - node["data"] = node["data"] or data + node["data"].update(data) # set default node style for custom node if type not in ["default", "input", "output"]: node["class"] = "vue-flow__node-default"