MCPcopy Create free account
hub / github.com/GraphiteEditor/Graphite / detect_network_cycle

Function detect_network_cycle

document/graph-storage/src/to_runtime.rs:120–159  ·  view source on GitHub ↗

Converts a single network. Recurses through `Implementation::Network` owning nodes. ID remapping:** Registry uses globally hashed IDs; runtime networks need local IDs. We pull the original local ID from `attr::ORIGINAL_NODE_ID` on each node and on each `NodeInput::Node` reference. References only point within the same network, so per-network lookup suffices. Exports:** the storage-side `Vec<Expo

(context: &ConversionContext, root: NetworkId)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 6

popMethod · 0.80
getMethod · 0.65
removeMethod · 0.45
insertMethod · 0.45
containsMethod · 0.45
pushMethod · 0.45

Tested by

no test coverage detected