Interface: IAdapter#

@deathbeds/ipydrawio.IAdapter

Methods#

drawioConfig#

drawioConfig(): ReadonlyPartialJSONObject

a dictionary encoding of the drawio JSON API Config Object

Returns#

ReadonlyPartialJSONObject

Defined in#

packages/ipydrawio/src/tokens.ts:242


drawioUrl#

drawioUrl(): string

where to download drawio assets

Returns#

string

Defined in#

packages/ipydrawio/src/tokens.ts:250


format#

format(): null | IFormat<string>

Returns#

null | IFormat<string>

Defined in#

packages/ipydrawio/src/tokens.ts:239


fromXML#

fromXML(xml, hardSave): void

store the XML somewhere

Parameters#

Name

Type

xml

string

hardSave

boolean

Returns#

void

Defined in#

packages/ipydrawio/src/tokens.ts:252


saveNeedsExport#

saveNeedsExport(): boolean

Use a an exporter to generate non-XML

Returns#

boolean

Defined in#

packages/ipydrawio/src/tokens.ts:246


toXML#

toXML(): string

load the XML from somewhere

Returns#

string

Defined in#

packages/ipydrawio/src/tokens.ts:248


urlParams#

urlParams(): ReadonlyPartialJSONObject

a dictionary encoding of the drawio JSON API URL Params

Returns#

ReadonlyPartialJSONObject

Defined in#

packages/ipydrawio/src/tokens.ts:244

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.