Skip to content

CanvasConnectionBuilder🔗

Constructor🔗

func NewCanvasConnectionBuilder() *CanvasConnectionBuilder

Methods🔗

Build🔗

Builds the object.

func (builder *CanvasConnectionBuilder) Build() (CanvasConnection, error)

Color🔗

func (builder *CanvasConnectionBuilder) Color(color cog.Builder[common.ColorDimensionConfig]) *CanvasConnectionBuilder

Path🔗

func (builder *CanvasConnectionBuilder) Path(path canvas.ConnectionPath) *CanvasConnectionBuilder

Size🔗

func (builder *CanvasConnectionBuilder) Size(size cog.Builder[common.ScaleDimensionConfig]) *CanvasConnectionBuilder

Source🔗

func (builder *CanvasConnectionBuilder) Source(source cog.Builder[canvas.ConnectionCoordinates]) *CanvasConnectionBuilder

SourceOriginal🔗

func (builder *CanvasConnectionBuilder) SourceOriginal(sourceOriginal cog.Builder[canvas.ConnectionCoordinates]) *CanvasConnectionBuilder

Target🔗

func (builder *CanvasConnectionBuilder) Target(target cog.Builder[canvas.ConnectionCoordinates]) *CanvasConnectionBuilder

TargetName🔗

func (builder *CanvasConnectionBuilder) TargetName(targetName string) *CanvasConnectionBuilder

TargetOriginal🔗

func (builder *CanvasConnectionBuilder) TargetOriginal(targetOriginal cog.Builder[canvas.ConnectionCoordinates]) *CanvasConnectionBuilder

Vertices🔗

func (builder *CanvasConnectionBuilder) Vertices(vertices []cog.Builder[canvas.ConnectionCoordinates]) *CanvasConnectionBuilder

See also🔗