JSON Schema#

AnyElkEdgeWithProperties#

type

object

properties

  • container

type

string

  • id

type

string

  • junctionPoints

type

array

items

ElkPoint

  • labels

type

array

items

AnyElkLabelWithProperties

  • layoutOptions

LayoutOptions

  • properties

ElkProperties

  • sections

type

array

items

ElkEdgeSection

  • sources

type

array

items

type

string

  • targets

type

array

items

type

string

additionalProperties

False

AnyElkLabelWithProperties#

type

object

properties

  • height

type

number

  • id

type

string

  • labels

type

array

items

AnyElkLabelWithProperties

  • layoutOptions

LayoutOptions

  • properties

ElkProperties

  • text

type

string

  • width

type

number

  • x

type

number

  • y

type

number

additionalProperties

False

AnyElkNode#

type

object

properties

  • children

type

array

items

AnyElkNode

  • edges

type

array

items

AnyElkEdgeWithProperties

  • height

type

number

  • id

type

string

  • labels

type

array

items

AnyElkLabelWithProperties

  • layoutOptions

LayoutOptions

  • ports

type

array

items

AnyElkPort

  • properties

ElkProperties

  • width

type

number

  • x

type

number

  • y

type

number

additionalProperties

False

AnyElkPort#

type

object

properties

  • height

type

number

  • id

type

string

  • labels

type

array

items

AnyElkLabelWithProperties

  • layoutOptions

LayoutOptions

  • properties

ElkProperties

  • width

type

number

  • x

type

number

  • y

type

number

additionalProperties

False

CommentShape#

type

object

properties

  • delay

Milliseconds before a widget shape applies the diagram zoom; others ignore it.

type

number

  • height

type

number

  • type

type

string

const

node:comment

  • use

NotchSize

  • width

type

number

  • x

type

number

  • y

type

number

additionalProperties

False

CustomShape#

A shape with no type, or with a type that no built-in shape has: the payload of a custom view.

type

object

properties

  • delay

Milliseconds before a widget shape applies the diagram zoom; others ignore it.

type

number

  • end

type

string

  • height

type

number

  • start

type

string

  • type

type

string

pattern

^(?!(edge|port|label|label:icon|node|node:(path|svg|round|diamond|comment|use|image|foreignobject|widget|html))$)

  • use

type

string

  • width

type

number

  • x

type

number

  • y

type

number

additionalProperties

False

DiamondShape#

type

object

properties

  • delay

Milliseconds before a widget shape applies the diagram zoom; others ignore it.

type

number

  • height

type

number

  • type

type

string

const

node:diamond

  • width

type

number

  • x

type

number

  • y

type

number

additionalProperties

False

EdgeShape#

type

object

properties

  • delay

Milliseconds before a widget shape applies the diagram zoom; others ignore it.

type

number

  • end

SymbolId

  • height

type

number

  • start

SymbolId

  • type

type

string

const

edge

  • width

type

number

  • x

type

number

  • y

type

number

additionalProperties

False

ElkEdgeSection#

type

object

properties

  • bendPoints

type

array

items

ElkPoint

  • endPoint

ElkPoint

  • id

type

string

  • incomingSections

type

array

items

type

string

  • incomingShape

type

string

  • labels

type

array

items

ElkLabel

  • layoutOptions

LayoutOptions

  • outgoingSections

type

array

items

type

string

  • outgoingShape

type

string

  • startPoint

ElkPoint

additionalProperties

False

ElkLabel#

type

object

properties

  • height

type

number

  • id

type

string

  • labels

type

array

items

ElkLabel

  • layoutOptions

LayoutOptions

  • text

type

string

  • width

type

number

  • x

type

number

  • y

type

number

additionalProperties

False

ElkPoint#

type

object

properties

  • x

type

number

  • y

type

number

additionalProperties

False

ElkProperties#

type

object

properties

  • cssClasses

type

string

  • hidden

type

boolean

  • isSymbol

type

boolean

  • key

type

string

  • selectable

type

boolean

  • separator

render a full-width horizontal rule across the parent node just above this label (e.g. a compartment header); opt-in, unset/false draws nothing

type

boolean

  • separatorGap

Distance in SVG pixels between a separator and the top of its label. Defaults to 1 when omitted.

type

number

  • shape

Shape

  • tooltip

Hover text rendered as the label’s SVG <title>; typically the complete text for a visually truncated label.

type

string

additionalProperties

False

ForeignObjectShape#

type

object

properties

  • delay

Milliseconds before a widget shape applies the diagram zoom; others ignore it.

type

number

  • height

type

number

  • type

type

string

const

node:foreignobject

  • use

Markup

  • width

type

number

  • x

type

number

  • y

type

number

additionalProperties

False

HTMLShape#

type

object

properties

  • delay

Milliseconds before a widget shape applies the diagram zoom; others ignore it.

type

number

  • height

type

number

  • type

type

string

const

node:html

  • use

Markup

  • width

type

number

  • x

type

number

  • y

type

number

additionalProperties

False

IconShape#

type

object

properties

  • delay

Milliseconds before a widget shape applies the diagram zoom; others ignore it.

type

number

  • height

type

number

  • type

type

string

const

label:icon

  • use

SymbolId

  • width

type

number

  • x

type

number

  • y

type

number

additionalProperties

False

ImageShape#

type

object

properties

  • delay

Milliseconds before a widget shape applies the diagram zoom; others ignore it.

type

number

  • height

type

number

  • type

type

string

const

node:image

  • use

ImageUrl

  • width

type

number

  • x

type

number

  • y

type

number

additionalProperties

False

ImageUrl#

The URL of an image: absolute, relative to the notebook, or a data: URL.

type

string

minLength

1

LabelShape#

type

object

properties

  • delay

Milliseconds before a widget shape applies the diagram zoom; others ignore it.

type

number

  • height

type

number

  • type

type

string

const

label

  • use

SymbolId

  • width

type

number

  • x

type

number

  • y

type

number

additionalProperties

False

LayoutOptions#

***************************************************************************** Copyright (c) 2019 TypeFox and others.

This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which is available at https://www.eclipse.org/legal/epl-2.0.

This Source Code may also be made available under the following Secondary Licenses when the conditions for such availability set forth in the Eclipse Public License v. 2.0 are satisfied: GPL-3.0 which is available at https://www.gnu.org/licenses/gpl-3.0-standalone.html.

SPDX-License-Identifier: EPL-2.0 OR GPL-3.0-or-later *****************************************************************************

type

object

additionalProperties

type

string

Markup#

SVG or HTML markup. The views insert it as it is, so it must be trusted.

type

string

ModelId#

The model_id of the Jupyter widget that a node:widget shape draws.

type

string

NotchSize#

The size of a comment’s notch in pixels: a finite number, 0 or more. 0 draws no notch. ipyelk 2.x wrote it as a string, which the view still reads.

type

number

minimum

0

PathData#

The d attribute of an SVG path: a move and a number first, then path commands, numbers, commas and ASCII whitespace, as the SVG grammar allows.

type

string

pattern

^[ \t\n\r\f]*[Mm][ \t\n\r\f]*[0-9+\-.][ \t\n\r\fMmZzLlHhVvCcSsQqTtAa0-9eE+\-.,]*$

PathShape#

type

object

properties

  • delay

Milliseconds before a widget shape applies the diagram zoom; others ignore it.

type

number

  • height

type

number

  • type

type

string

const

node:path

  • use

PathData

  • width

type

number

  • x

type

number

  • y

type

number

additionalProperties

False

PortShape#

type

object

properties

  • delay

Milliseconds before a widget shape applies the diagram zoom; others ignore it.

type

number

  • height

type

number

  • type

type

string

const

port

  • use

SymbolId

  • width

type

number

  • x

type

number

  • y

type

number

additionalProperties

False

RectShape#

type

object

properties

  • delay

Milliseconds before a widget shape applies the diagram zoom; others ignore it.

type

number

  • height

type

number

  • type

type

string

const

node

  • width

type

number

  • x

type

number

  • y

type

number

additionalProperties

False

RoundShape#

type

object

properties

  • delay

Milliseconds before a widget shape applies the diagram zoom; others ignore it.

type

number

  • height

type

number

  • type

type

string

const

node:round

  • width

type

number

  • x

type

number

  • y

type

number

additionalProperties

False

SVGShape#

type

object

properties

  • delay

Milliseconds before a widget shape applies the diagram zoom; others ignore it.

type

number

  • height

type

number

  • type

type

string

const

node:svg

  • use

Markup

  • width

type

number

  • x

type

number

  • y

type

number

additionalProperties

False

Shape#

A shape: its type selects the view and the type of its use.

SymbolId#

The identifier of a symbol in the diagram’s defs.

type

string

minLength

1

UseShape#

type

object

properties

  • delay

Milliseconds before a widget shape applies the diagram zoom; others ignore it.

type

number

  • height

type

number

  • type

type

string

const

node:use

  • use

SymbolId

  • width

type

number

  • x

type

number

  • y

type

number

additionalProperties

False

WidgetShape#

type

object

properties

  • delay

Milliseconds before a widget shape applies the diagram zoom; others ignore it.

type

number

  • height

type

number

  • type

type

string

const

node:widget

  • use

ModelId

  • width

type

number

  • x

type

number

  • y

type

number

additionalProperties

False