{"id":13546766,"url":"https://github.com/tinted-software/egui_nodes","last_synced_at":"2026-02-15T03:02:04.941Z","repository":{"id":40589144,"uuid":"479908013","full_name":"tinted-software/egui_nodes","owner":"tinted-software","description":"A egui port of imnodes","archived":false,"fork":false,"pushed_at":"2025-02-04T18:51:10.000Z","size":4827,"stargazers_count":7,"open_issues_count":5,"forks_count":2,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-02-04T19:39:56.837Z","etag":null,"topics":["egui","rust"],"latest_commit_sha":null,"homepage":"https://code.tinted.dev/tinted/egui-nodes","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tinted-software.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-10T04:00:54.000Z","updated_at":"2024-11-09T09:04:16.000Z","dependencies_parsed_at":"2024-06-01T04:33:34.640Z","dependency_job_id":"13473a29-0223-4fdf-8b68-2c4ec3ae1374","html_url":"https://github.com/tinted-software/egui_nodes","commit_stats":null,"previous_names":["tinted-software/egui_nodes","theoparis/egui_nodes"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinted-software%2Fegui_nodes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinted-software%2Fegui_nodes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinted-software%2Fegui_nodes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tinted-software%2Fegui_nodes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tinted-software","download_url":"https://codeload.github.com/tinted-software/egui_nodes/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246870159,"owners_count":20847256,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["egui","rust"],"created_at":"2024-08-01T12:00:44.591Z","updated_at":"2026-02-15T03:02:04.876Z","avatar_url":"https://github.com/tinted-software.png","language":"Rust","funding_links":[],"categories":["Libraries"],"sub_categories":[],"readme":"# egui_nodes\n\n A egui port of https://github.com/Nelarius/imnodes \n \n### Example\n``` rust\npub fn example_graph(ctx: \u0026mut Context, links: \u0026mut Vec\u003c(usize, usize)\u003e, ui: \u0026mut Ui) {\n    // add nodes with attributes\n    let nodes = vec![\n        NodeConstructor::new(0, Default::default())\n            .with_title(|ui| ui.label(\"Example Node A\"))\n            .with_input_attribute(0, Default::default(), |ui| ui.label(\"Input\"))\n            .with_static_attribute(1, |ui| ui.label(\"Can't Connect to Me\"))\n            .with_output_attribute(2, Default::default(), |ui| ui.label(\"Output\")),\n        NodeConstructor::new(1, Default::default())\n            .with_title(|ui| ui.label(\"Example Node B\"))\n            .with_static_attribute(3, |ui| ui.label(\"Can't Connect to Me\"))\n            .with_output_attribute(4, Default::default(), |ui| ui.label(\"Output\"))\n            .with_input_attribute(5, Default::default(), |ui| ui.label(\"Input\"))\n    ];\n\n    // add them to the ui\n    ctx.show(\n        nodes,\n        links.iter().enumerate().map(|(i, (start, end))| (i, *start, *end, LinkArgs::default())),\n        ui\n    );\n    \n    // remove destroyed links\n    if let Some(idx) = ctx.link_destroyed() {\n        links.remove(idx);\n    }\n\n    // add created links\n    if let Some((start, end, _)) = ctx.link_created() {\n        links.push((start, end))\n    }\n}\n```\n \n \u003cimg src=\"media/example.gif\"\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinted-software%2Fegui_nodes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftinted-software%2Fegui_nodes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftinted-software%2Fegui_nodes/lists"}