Module graph

Module graph 

Source
Expand description

Iterative imported graph owner. Host replies supply raw attributes and codecs; traversal, eligibility, deduplication and numeric admission stay here.

Structs§

Event
GraphProgram
LineageEntry
Node
NodeReply
PointMetadata
PointsReply
RetainedSource

Enums§

EventKind

Constants§

MAX_DEPTH
Work limits for untrusted graph packets. Every outgoing edge clones its parent frame, so an adversarial reply (the same child repeated, huge edge names, oversized matrices, very deep chains) could otherwise multiply a small packet into gigabytes. Real IFCX models are far below all of these. Exceeding any limit refuses the program with ImportError::InvalidPacket. Deepest path of nested nodes (a frame’s lineage length).
MAX_FRAMES
Total frames a program may visit across all passes.
MAX_QUEUED_BYTES
Bytes (estimated) held by queued, not yet visited, frames at any moment.
MAX_RETAINED_BYTES
Bytes (estimated) of transform stacks retained for admitted occurrences. Each occurrence keeps its own stack, so a deep chain grows with depth².
MAX_TRANSFORM_COLUMNS
MAX_TRANSFORM_ROWS
A local transform is accepted only as at most 4 rows of at most 4 values.