Function arc

  • Constructs a new arc generator with the default settings.

    Ensure that the accessors used with the arc generator correspond to the arguments passed into them, or set them to constants as appropriate.

    Returns Arc<any, DefaultArcObject>

  • Constructs a new arc generator with the default settings.

    Ensure that the accessors used with the arc generator correspond to the arguments passed into them, or set them to constants as appropriate.

    The generic corresponds to the datum type representing a arc.

    Type Parameters

    • Datum

    Returns Arc<any, Datum>

  • Constructs a new arc generator with the default settings.

    Ensure that the accessors used with the arc generator correspond to the arguments passed into them, or set them to constants as appropriate.

    The first generic corresponds to the type of the "this" context within which the arc generator and its accessor functions will be invoked.

    The second generic corresponds to the datum type representing a arc.

    Type Parameters

    • This

    • Datum

    Returns Arc<This, Datum>