JSON Schema#
AnyElkEdgeWithProperties#
type |
object |
||
properties |
|||
|
type |
string |
|
|
type |
string |
|
|
type |
array |
|
items |
|||
|
type |
array |
|
items |
|||
|
|||
|
|||
|
type |
array |
|
items |
|||
|
type |
array |
|
items |
type |
string |
|
|
type |
array |
|
items |
type |
string |
|
additionalProperties |
False |
||
AnyElkLabelWithProperties#
type |
object |
|
properties |
||
|
type |
number |
|
type |
string |
|
type |
array |
items |
||
|
||
|
||
|
type |
string |
|
type |
number |
|
type |
number |
|
type |
number |
additionalProperties |
False |
|
AnyElkNode#
type |
object |
|
properties |
||
|
type |
array |
items |
||
|
type |
array |
items |
||
|
type |
number |
|
type |
string |
|
type |
array |
items |
||
|
||
|
type |
array |
items |
||
|
||
|
type |
number |
|
type |
number |
|
type |
number |
additionalProperties |
False |
|
AnyElkPort#
type |
object |
|
properties |
||
|
type |
number |
|
type |
string |
|
type |
array |
items |
||
|
||
|
||
|
type |
number |
|
type |
number |
|
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 |
||
|
Milliseconds before a widget shape applies the diagram zoom; others ignore it. |
|
type |
number |
|
|
type |
string |
|
type |
number |
|
type |
string |
|
type |
string |
pattern |
^(?!(edge|port|label|label:icon|node|node:(path|svg|round|diamond|comment|use|image|foreignobject|widget|html))$) |
|
|
type |
string |
|
type |
number |
|
type |
number |
|
type |
number |
additionalProperties |
False |
|
DiamondShape#
type |
object |
|
properties |
||
|
Milliseconds before a widget shape applies the diagram zoom; others ignore it. |
|
type |
number |
|
|
type |
number |
|
type |
string |
const |
node:diamond |
|
|
type |
number |
|
type |
number |
|
type |
number |
additionalProperties |
False |
|
EdgeShape#
ElkEdgeSection#
type |
object |
||
properties |
|||
|
type |
array |
|
items |
|||
|
|||
|
type |
string |
|
|
type |
array |
|
items |
type |
string |
|
|
type |
string |
|
|
type |
array |
|
items |
|||
|
|||
|
type |
array |
|
items |
type |
string |
|
|
type |
string |
|
|
|||
additionalProperties |
False |
||
ElkLabel#
type |
object |
|
properties |
||
|
type |
number |
|
type |
string |
|
type |
array |
items |
||
|
||
|
type |
string |
|
type |
number |
|
type |
number |
|
type |
number |
additionalProperties |
False |
|
ElkPoint#
type |
object |
|
properties |
||
|
type |
number |
|
type |
number |
additionalProperties |
False |
|
ElkProperties#
type |
object |
|
properties |
||
|
type |
string |
|
type |
boolean |
|
type |
boolean |
|
type |
string |
|
type |
boolean |
|
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 |
|
|
Distance in SVG pixels between a separator and the top of its label.
Defaults to |
|
type |
number |
|
|
||
|
Hover text rendered as the label’s SVG |
|
type |
string |
|
additionalProperties |
False |
|
ForeignObjectShape#
type |
object |
|
properties |
||
|
Milliseconds before a widget shape applies the diagram zoom; others ignore it. |
|
type |
number |
|
|
type |
number |
|
type |
string |
const |
node:foreignobject |
|
|
||
|
type |
number |
|
type |
number |
|
type |
number |
additionalProperties |
False |
|
HTMLShape#
type |
object |
|
properties |
||
|
Milliseconds before a widget shape applies the diagram zoom; others ignore it. |
|
type |
number |
|
|
type |
number |
|
type |
string |
const |
node:html |
|
|
||
|
type |
number |
|
type |
number |
|
type |
number |
additionalProperties |
False |
|
IconShape#
type |
object |
|
properties |
||
|
Milliseconds before a widget shape applies the diagram zoom; others ignore it. |
|
type |
number |
|
|
type |
number |
|
type |
string |
const |
label:icon |
|
|
||
|
type |
number |
|
type |
number |
|
type |
number |
additionalProperties |
False |
|
ImageShape#
type |
object |
|
properties |
||
|
Milliseconds before a widget shape applies the diagram zoom; others ignore it. |
|
type |
number |
|
|
type |
number |
|
type |
string |
const |
node:image |
|
|
||
|
type |
number |
|
type |
number |
|
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 |
||
|
Milliseconds before a widget shape applies the diagram zoom; others ignore it. |
|
type |
number |
|
|
type |
number |
|
type |
string |
const |
label |
|
|
||
|
type |
number |
|
type |
number |
|
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 |
||
|
Milliseconds before a widget shape applies the diagram zoom; others ignore it. |
|
type |
number |
|
|
type |
number |
|
type |
string |
const |
node:path |
|
|
||
|
type |
number |
|
type |
number |
|
type |
number |
additionalProperties |
False |
|
PortShape#
type |
object |
|
properties |
||
|
Milliseconds before a widget shape applies the diagram zoom; others ignore it. |
|
type |
number |
|
|
type |
number |
|
type |
string |
const |
port |
|
|
||
|
type |
number |
|
type |
number |
|
type |
number |
additionalProperties |
False |
|
RectShape#
type |
object |
|
properties |
||
|
Milliseconds before a widget shape applies the diagram zoom; others ignore it. |
|
type |
number |
|
|
type |
number |
|
type |
string |
const |
node |
|
|
type |
number |
|
type |
number |
|
type |
number |
additionalProperties |
False |
|
RoundShape#
type |
object |
|
properties |
||
|
Milliseconds before a widget shape applies the diagram zoom; others ignore it. |
|
type |
number |
|
|
type |
number |
|
type |
string |
const |
node:round |
|
|
type |
number |
|
type |
number |
|
type |
number |
additionalProperties |
False |
|
SVGShape#
type |
object |
|
properties |
||
|
Milliseconds before a widget shape applies the diagram zoom; others ignore it. |
|
type |
number |
|
|
type |
number |
|
type |
string |
const |
node:svg |
|
|
||
|
type |
number |
|
type |
number |
|
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 |
||
|
Milliseconds before a widget shape applies the diagram zoom; others ignore it. |
|
type |
number |
|
|
type |
number |
|
type |
string |
const |
node:use |
|
|
||
|
type |
number |
|
type |
number |
|
type |
number |
additionalProperties |
False |
|
WidgetShape#
type |
object |
|
properties |
||
|
Milliseconds before a widget shape applies the diagram zoom; others ignore it. |
|
type |
number |
|
|
type |
number |
|
type |
string |
const |
node:widget |
|
|
||
|
type |
number |
|
type |
number |
|
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