Crates.io | imnodes |
lib.rs | imnodes |
version | |
source | src |
created_at | 2023-04-19 16:07:25.922891 |
updated_at | 2024-12-10 18:49:24.149068 |
description | Rust bindings to https://github.com/Nelarius/imnodes |
homepage | |
repository | |
max_upload_size | |
id | 843709 |
Cargo.toml error: | TOML parse error at line 21, column 1 | 21 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
These are bindings for imnodes using cimnodes for imgui-rs.
They are inspsired by implot-rs.
cargo doc --no-deps --open
nice to have:
imnodes-wgpu-examples/src/hello_world.rs
)fn show(ui: &imgui::Ui, context: &mut imnodes::EditorContext) {
let mut id_generator = context.new_identifier_generator();
imnodes::editor(context, |mut editor| {
editor.add_node(id_generator.next_node(), |mut node| {
node.add_titlebar(|| ui.text("simple node :)"));
node.add_input(
id_generator.next_input_pin(),
imnodes::PinShape::Circle,
|| ui.text("input"),
);
node.add_output(
id_generator.next_output_pin(),
imnodes::PinShape::QuadFilled,
|| ui.text("output"),
);
});
});
}