SwiftprotocolShaderGraph
GenericDotGraph
protocol ShaderGraph.GenericDotGraph
Members 19
- associatedtype
associatedtype InputType - associatedtype
associatedtype NodeType - associatedtype
associatedtype OutputType - func
method descriptor for edgeLabel(for: (A.NodeType, A.OutputType, A.NodeType, A.InputType)) -> String - func
method descriptor for inputIdentifier(for: A.InputType) -> String - func
method descriptor for inputLabel(for: A.InputType) -> String - func
method descriptor for inputs(for: A.NodeType) -> [A.InputType] - func
method descriptor for interiorNodes() -> [A.NodeType] - func
method descriptor for nodeIdentifier(for: A.NodeType) -> String - func
method descriptor for nodeLabel(for: A.NodeType) -> String - func
method descriptor for outputIdentifier(for: A.OutputType) -> String - func
method descriptor for outputLabel(for: A.OutputType) -> String - func
method descriptor for outputs(for: A.NodeType) -> [A.OutputType] - func
method descriptor for sinkNodes() -> [A.NodeType] - func
method descriptor for sourceNodes() -> [A.NodeType] - func
method descriptor for subgraphs() -> [A] - var
var edgeTuples: [(A.NodeType, A.OutputType, A.NodeType, A.InputType)] { get } - var
var identifier: String { get } - var
var label: String { get }
Header
protocol GenericDotGraph where Self.NodeType: Swift.Hashable { associatedtype NodeType associatedtype InputType associatedtype OutputType var edgeTuples: [(Self.NodeType, Self.OutputType, Self.NodeType, Self.InputType)] { get } var identifier: Swift.String { get } var label: Swift.String { get } func sourceNodes() -> [Self.NodeType] func interiorNodes() -> [Self.NodeType] func sinkNodes() -> [Self.NodeType] func inputs(for: Self.NodeType) -> [Self.InputType] func outputs(for: Self.NodeType) -> [Self.OutputType] func nodeLabel(for: Self.NodeType) -> Swift.String func nodeIdentifier(for: Self.NodeType) -> Swift.String func inputLabel(for: Self.InputType) -> Swift.String func inputIdentifier(for: Self.InputType) -> Swift.String func outputLabel(for: Self.OutputType) -> Swift.String func outputIdentifier(for: Self.OutputType) -> Swift.String func edgeLabel(for: (Self.NodeType, Self.OutputType, Self.NodeType, Self.InputType)) -> Swift.String func subgraphs() -> [Self] }