Sprotty
Toggle Dark/Light/Auto modeToggle Dark/Light/Auto modeToggle Dark/Light/Auto modeBack to homepage

Class. Sgraph View

sprotty / SGraphView

Class: SGraphView

Defined in: packages/sprotty/src/graph/views.tsx:46

IView component that turns an SGraph element and its children into a tree of virtual DOM elements.

Implements

Constructors

Constructor

new SGraphView(): SGraphView

Returns

SGraphView

Properties

edgeRouterRegistry

edgeRouterRegistry: EdgeRouterRegistry

Defined in: packages/sprotty/src/graph/views.tsx:48

Methods

render()

render(model, context): VNode

Defined in: packages/sprotty/src/graph/views.tsx:50

Parameters

model

Readonly<SGraphImpl>

context

RenderingContext

Returns

VNode

Implementation of

IView.render