Interface Model

Interface Model

interface Model {
    inputs: Output[];
    outputs: Output[];
    getName(): string;
    input(nameOrId?): Output;
    output(nameOrId?): Output;
}

Properties

inputs

inputs: Output[]

outputs

outputs: Output[]

Methods

getName

getName(): string

Returns string

input

input(nameOrId?): Output

Parameters

  • Optional

    nameOrId: string|number
    

Returns Output

output

output(nameOrId?): Output

Parameters

  • Optional

    nameOrId: string|number
    

Returns Output