static-graph
This crate provides the ability to generate static graphs by analysing the node dependencies in DSL. It allows only one input and one output in a graph, and independent nodes can run in parallel.
Usage
Add this to your Cargo.toml
:
[]
= "0.1"
Example
Write a graph description in a .graph
file:
node E -> (X, Y) {
}
node X -> O {
}
node Y -> O {
}
node O {
}
graph G(E)
Then, in build.rs
:
Finally, in main.rs
write your own logic.
License
Volo is dual-licensed under the MIT license and the Apache License (Version 2.0).
See LICENSE-MIT and LICENSE-APACHE for details.
Community
-
Email: volo@cloudwego.io
-
How to become a member: COMMUNITY MEMBERSHIP
-
Issues: Issues
-
Feishu: Scan the QR code below with Feishu or click this link to join our CloudWeGo Volo user group.