imgui-node-editor bindings for daslang.
Provides the imgui_node_editor module for building node-based editors with daslang.
daslang.exe utils/daspkg/main.das -- install github.com/borisbat/dasImguiNodeEditorOr add to your project's .das_package:
[export]
def dependencies(version : string) {
require_package("github.com/borisbat/dasImguiNodeEditor")
}Then run daspkg install.
Note: This package depends on dasImgui, which will be installed automatically.
The C++ build step runs automatically during daspkg install. To rebuild manually:
daspkg build dasImguiNodeEditorOr with CMake directly:
cmake -B modules/dasImguiNodeEditor/_build -S modules/dasImguiNodeEditor -DDASLANG_DIR=<path-to-daslang-root>
cmake --build modules/dasImguiNodeEditor/_build --config Release- daslang SDK (built with dynamic modules support)
- dasImgui package (installed and built)
- CMake 3.16+
- C++17 compiler (MSVC, GCC, Clang)
options gen2
require imgui/imgui_node_editor_boost
require imgui/imgui_boost
require imgui_app
[export]
def main() {
imgui_app("Node Editor") <| $() {
NewFrame()
// ... imgui_node_editor API calls ...
Render()
}
}Run with -project_root pointing to the directory containing modules/:
daslang.exe -project_root . my_app.das| Module | Require | Description |
|---|---|---|
imgui_node_editor |
require imgui/imgui_node_editor_boost |
imgui-node-editor bindings |
v0.9.3 (vendored, patched for imgui 1.90.6 compatibility).
MIT