| Crates.io | bevy_entity_graph |
| lib.rs | bevy_entity_graph |
| version | 0.2.0 |
| created_at | 2025-10-02 02:23:30.345067+00 |
| updated_at | 2025-10-06 00:48:53.499446+00 |
| description | Create graphs of entities in the Bevy game engine. |
| homepage | https://github.com/Katsutoshii/bevy_entity_graph |
| repository | https://github.com/Katsutoshii/bevy_entity_graph |
| max_upload_size | |
| id | 1863780 |
| size | 157,298 |
bevy_entity_graphCrate to facilitate working with graphs of entities in Bevy.
Features:
use bevy_entity_graph::{ConnectMessage, Connections, EntityGraphPlugin, InConnectedComponent};
fn my_system(mut commands: Commands, mut connect_events: EventWriter<ConnectEvent>) {
// Spawn some entities with Connections.
let e1 = commands.spawn((Connections::default(), ...)).id();
let e2 = commands.spawn((Connections::default(), ...)).id();
// Connect them.
connect_events.write(ConnectMessage((e1, e2)));
}
See examples for a working demo.
| bevy | bevy_entity_graph |
|---|---|
| 0.17 | 0.2.0 |
| 0.16 | 0.1.0 |