MCPcopy Create free account
hub / github.com/MegEngine/MegFlow / Graph

Class Graph

flow-rs/src/graph/mod.rs:115–125  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115pub(crate) struct Graph {
116 nodes: HashMap<String, AnyNode>,
117 conns: HashMap<String, AnyChannel>,
118 inputs: Vec<String>,
119 outputs: Vec<String>,
120 broker: Broker,
121 shares: HashMap<String, SharedProxy>,
122 ctx: Context,
123 resources: UniqueResourceCollection,
124 is_shared: bool,
125}
126
127impl Graph {
128 pub(crate) fn load(ctx: Context, config: &config::Graph, args: &Table) -> Result<Graph> {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected