API

Function normalizeNodeParticleGraph

  • Normalize supported graph plumbing in a graph returned by parseNodeParticleSource.

    Directly parsed graphs containing supported plumbing classes require this step before they are passed to any node-particle builder. Graphs without a candidate class resolve to the same graph object. Validation failures reject the returned Promise.

    Parameters

    • graph: ParticleGraph

    Returns Promise<ParticleGraph>