Class: DiagramDocument#

@deathbeds/ipydrawio.DiagramDocument

Hierarchy#

  • DocumentWidget<Diagram>

    DiagramDocument

Constructors#

constructor#

new DiagramDocument(options)

Parameters#

Name

Type

options

IOptions

Overrides#

DocumentWidget<Diagram&gt;.constructor

Defined in#

packages/ipydrawio/src/document.ts:50

Properties#

_manager#

Protected _manager: IDiagramManager

Defined in#

packages/ipydrawio/src/document.ts:34


context#

Readonly context: Context

Overrides#

DocumentWidget.context

Defined in#

packages/ipydrawio/src/document.ts:48


getSettings#

getSettings: ISettingsGetter

Defined in#

packages/ipydrawio/src/document.ts:35

Accessors#

format#

get format(): null | IFormat<string>

Returns#

null | IFormat<string>

Defined in#

packages/ipydrawio/src/document.ts:84


urlParams#

get urlParams(): DrawioURLParams

Returns#

DrawioURLParams

Defined in#

packages/ipydrawio/src/document.ts:39

set urlParams(urlParams): void

Parameters#

Name

Type

urlParams

DrawioURLParams

Returns#

void

Defined in#

packages/ipydrawio/src/document.ts:43

Methods#

updateSettings#

updateSettings(): void

Handle receiving settings from the extension

Returns#

void

Defined in#

packages/ipydrawio/src/document.ts:95

Copyright 2023 ipydrawio contributors

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

  http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.