Replies: 1 comment
-
Getting a section for a widget layout in the nodes. Originally I had the start position of a node in the centre (you can see where the widget is placed in relation). I don't remember why I did it this way and not sure it matters all that much if I should goto the effort of changing the nodes so a QRectF starts in the top corner instead of the centre. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I’ve moved around the branches, names, and code.
The original code with has no functionality except for a PySide6 based GUI for creating and connecting nodes is now located here: https://github.com/bhowiebkr/python-node-editor/tree/GUI-nodes-only
I’m working out a project folder which contains all the custom code for a node based python project. Each python file will be dedicated to a node and the node graph descriptions will be contained in json files. Projects can have any number of json files and I’d like to implement grouping entire node graphs into single nodes.
The python files for a given project are dynamically loaded so project specific code and their dependencies are separate from the tool. Currently nodes are subclassing PySide objects but I’d like to separate them so a node graph could be run headless with no other dependencies such as PySide.
I think specialized node widgets could be interesting. For example an image, when working with image based data. Custom small UI’s for representing sensor, sound, value, or other data.
I don’t have the functionality of executing/computing the code in the graph. I gotta first extend the node widget class to have a connection for the flow of execution (similar to how unreal engine blueprints behave).
Beta Was this translation helpful? Give feedback.
All reactions