Open monkeycc opened 1 week ago
This image is ComfyUI, not DPG's,
I think the DPG docs is enough that it let you know those 3 data: link_id
, link_id1
, link_id2
.
Lot of thing docs will not do research for you.
Either link_callback
or delink_callback
can further get info about the link or link's input/output (which attribute belong to which node).
Using get_item_parent
, get_item_children
, get_item_type
, get_item_alias
, get_item_configuration
, get_item_info
, get_item_rect*
, ... like there are 27 get_item in the api docs.
Then you control the data yourself (graph theory, serialize/deserialize file, spawn/kill thread/process, connect/modify database,...). I think these points will help in controlling the data:
node_attribute
, or any item inside/outside of the node editor will:
callback
, drag_callback
, drop_callback
.mouse click
, mouse release
, mouse drag
, mouse down
, mouse move
, mouse wheel
, plus key modifier
like: Ctrl, Shift, Alt.draw_line
or plot's line_series
).I hope you will investigate the site-packages\dearpygui\dearpygui.py
file, view this file in vscode you can search these:
node
- 235 keywords.NodeCol
- 32 keywords.NodesCol
- 26 keywords.NodeStyle
- 26 keywords.
https://dearpygui.readthedocs.io/en/latest/documentation/node-editor.html
Hope to update the tutorial