Options
All
  • Public
  • Public/Protected
  • All
Menu

Class FlowterEdgeRendererMixin

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

Hierarchy

Index

Properties

Private detourSize

detourSize: 10 = MIN_EDGE_DETOUR_SIZE

The size allocated to render the edge detour.

domPosition

domPosition: object

Type declaration

  • x: number
  • y: number

Private minSize

minSize: 10 = MIN_EDGE_SIZE

The minimum size allowed for an edge.

renderedHeight

renderedHeight: number

renderedWidth

renderedWidth: number

strokeWidth

strokeWidth: 2 = DEFAULT_STROKE_WIDTH

Defines the stroke width of the edge.

todo

This should be configurable.

Accessors

arrowId

  • get arrowId(): string

containerStyle

  • get containerStyle(): object
  • The edge's CSS style.

    This defines the position and the size of the edge in the DOM. The position relies on the nodes' from and to position. This also accounts for the padding which is needed so that it won't be rendered right at the edge of the container.

    Returns object

    • fontSize: string
    • height: string
    • left: string
    • top: string
    • width: string

markerEnd

  • get markerEnd(): null | string

markerStart

  • get markerStart(): null | string

paddingSize

  • get paddingSize(): number

relativeHeight

  • get relativeHeight(): number

relativePosition

  • get relativePosition(): object

relativeWidth

  • get relativeWidth(): number

shapeRendering

  • get shapeRendering(): null

viewBox

  • get viewBox(): string

Generated using TypeDoc