GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • @maxgraph/core

This view

  • Original page
  • New address

GeezerVison is showing maxgraph.github.io — OrthConnector | @maxgraph/core

  • EdgeStyle
  • OrthConnector

Variable OrthConnectorConst

OrthConnector: EdgeStyleFunction = ...

Implements a local orthogonal router between the given cells.

This EdgeStyle is registered under orthogonalEdgeStyle in EdgeStyleRegistry when using Graph or calling registerDefaultEdgeStyles.

To register it on its own (e.g. with BaseGraph), prefer the dedicated registerOrthogonalEdgeStyle helper, which sets the correct metadata for you.

IMPORTANT: When registering it manually in EdgeStyleRegistry, the following metadata must be used:

  • handlerKind: 'segment'
  • isOrthogonal: true

Param: state

CellState that represents the edge to be updated.

Param: sourceScaled

CellState that represents the source terminal.

Param: targetScaled

CellState that represents the target terminal.

Param: controlHints

List of relative control Points.

Param: result

Array of Points that represent the actual points of the edge.

  • Defined in view/style/edge/Orthogonal.ts:163

Settings

Member Visibility
  • Protected
  • Inherited
Theme
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.