imgui-node-editor icon indicating copy to clipboard operation
imgui-node-editor copied to clipboard

Some simple example how to store data in the node and send to other nodes

Open wecand0 opened this issue 1 year ago • 1 comments

Hi, @thedmd! You are creating an awesome project, but I stuck in creating simple application to transfer data from one to others. I have read all issues in this project, and your answer was that developers should release serialize/deserializer data. But I failed to do it, if you some even trash example how to std::string and to send data from Node message with editing to Node Print string in blueprint example or other examples I will be appreciated it very much, please help me and help such dudes like me to draw attention to this Great project more and more developers.

Thank you for all what you do!!!

wecand0 avatar Jun 10 '23 16:06 wecand0

There is unfinished example with actrual blueprints backend on https://github.com/thedmd/imgui-node-editor/tree/feature/blueprint-next/examples/blueprints2-example branch. Poking around code should give you a general idea how things are cobbled together. Please note that example is not finished. It may be necessary to step few commits back in the history of the branch to see working example.

Blueprint engine state is serialized to json. Editor is build on top of blueprint engine.

Quick brief: crude_blueprint - blueprint engine crude_blueprint_library - node types crude_layout - simple grid layout to make nodes in editor look ok crude_logger - on screen logger with coloring blueprint_editor_* - document based editor, not completed, I was still experimenting with best way to serialize state imgui_extras - various utilities that helps to keep code cleaner and less verbose

thedmd avatar Jun 11 '23 18:06 thedmd