Interface: IAdapter#
@deathbeds/ipydrawio.IAdapter
Methods#
drawioConfig#
▸ drawioConfig(): ReadonlyPartialJSONObject
a dictionary encoding of the drawio JSON API Config Object
Returns#
ReadonlyPartialJSONObject
Defined in#
drawioUrl#
▸ drawioUrl(): string
where to download drawio assets
Returns#
string
Defined in#
format#
▸ format(): null
| IFormat
<string
>
Returns#
null
| IFormat
<string
>
Defined in#
fromXML#
▸ fromXML(xml
, hardSave
): void
store the XML somewhere
Parameters#
Name |
Type |
---|---|
|
|
|
|
Returns#
void
Defined in#
saveNeedsExport#
▸ saveNeedsExport(): boolean
Use a an exporter to generate non-XML
Returns#
boolean
Defined in#
toXML#
▸ toXML(): string
load the XML from somewhere
Returns#
string
Defined in#
urlParams#
▸ urlParams(): ReadonlyPartialJSONObject
a dictionary encoding of the drawio JSON API URL Params
Returns#
ReadonlyPartialJSONObject
Defined in#
packages/ipydrawio/src/tokens.ts:244
Copyright 2022 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.