Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FlowterNodeRendererMixin

The Flowter node's renderer mixin. This mixin extends the props.

Hierarchy

Index

Properties

margin

margin: number = DEFAULT_STROKE_WIDTH / 2

The margin to account for the stroke width.

This is to make the node always renders inside the container, regardless of the stroke width.

strokeWidth

strokeWidth: 2 = DEFAULT_STROKE_WIDTH

The default stroke width.

todo

This should be configurable.

Accessors

halfHeight

  • get halfHeight(): number

halfWidth

  • get halfWidth(): number

nodeCenter

  • get nodeCenter(): object

nodeStyle

  • get nodeStyle(): Record<string, string>

viewBox

  • get viewBox(): string

Generated using TypeDoc