| Crates.io | grid-engine |
| lib.rs | grid-engine |
| version | 0.1.2 |
| created_at | 2025-05-22 01:05:57.96485+00 |
| updated_at | 2025-06-05 11:31:21.467245+00 |
| description | A flexible and efficient library for managing 2D grid-based layouts with automatic collision handling and dynamic vertical expansion |
| homepage | |
| repository | https://github.com/thiagodejesus/grid-engine |
| max_upload_size | |
| id | 1684628 |
| size | 77,562 |
A flexible and efficient Rust library for managing 2D grid-based layouts with automatic collision handling and dynamic vertical expansion.
PS: This crate is on the early stages of development, so expect breaking changes and limited documentation.
Add this to your Cargo.toml:
[dependencies]
grid_engine = {version = "*"}
Check out the examples directory for usage examples.
The main components of the library are:
GridEngine: The main engine for managing the grid systemNode: Represents an item in the grid with position and dimensionsGridEvents: Event system for tracking changesFor detailed API documentation, run:
cargo doc --open
cargo test
cargo run --example managing_grid
Contributions are welcome! Please feel free to submit a Pull Request. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
This project is licensed under either:
at your option.