validateAddingEdge(_:)
Validates that an edge can be added to the graph without adding it, throwing a descriptive error if not.
Declaration
final func validateAddingEdge(_ edge: ShaderGraph.Edge) throwsDiscussion
Use canAddEdge(_:) instead when only a yes/no answer is needed.