Skip to content

Conversation

@jonassorgenfrei
Copy link
Contributor

The issue is the serialization and deserialization of nodes that have accept_connection_types and/or reject_connection_types.
This is a 4 times nested dict:
Screenshot 2025-09-01 024332

The current implementation is only taking the first two levels into account during the serializing and deserializing phase.

Closes #464

@jonassorgenfrei jonassorgenfrei force-pushed the fix-copy-paste-node-with-port-accept branch from 8b2c8e6 to 8e1113f Compare September 1, 2025 22:12
@jonassorgenfrei jonassorgenfrei marked this pull request as draft September 1, 2025 22:13
@jonassorgenfrei jonassorgenfrei force-pushed the fix-copy-paste-node-with-port-accept branch 3 times, most recently from d8fd107 to 1868e8a Compare September 1, 2025 22:22
@jonassorgenfrei jonassorgenfrei marked this pull request as ready for review September 1, 2025 22:27
…ct_connection_types.

Closes jchanvfx#464

removed optimization flag.

Update viewer.py

fixed the drop event error

QPoint(): too many arguments
QPoint(xpos: int, ypos: int): argument 1 has unexpected type 'float'
QPoint(a0: QPoint): argument 1 has unexpected type 'float'

Update base_node.py

i have added NodeButton

Update node_widgets.py

Added NodeButton

version bump

update example with vertical aligned node

graph expose option to paste nodes without overwriting the style of the graph
@jonassorgenfrei jonassorgenfrei force-pushed the fix-copy-paste-node-with-port-accept branch from 5b9d734 to 8d26720 Compare September 1, 2025 22:31
@jchanvfx jchanvfx merged commit 6a03d05 into jchanvfx:main Sep 2, 2025
@jonassorgenfrei jonassorgenfrei deleted the fix-copy-paste-node-with-port-accept branch September 3, 2025 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

copy "Circle Node" node,error

2 participants