Module: @deathbeds/ipydrawio#
Type Aliases#
TMXGraphPanningEvent#
Ƭ TMXGraphPanningEvent: "panStart" | "panEnd" | "pan"
Defined in#
TMXGraphSelectionEvent#
Ƭ TMXGraphSelectionEvent: "change"
Defined in#
TMXGraphSelectionModelEvent#
Ƭ TMXGraphSelectionModelEvent: "change"
Defined in#
TUIThemeOverrides#
Ƭ TUIThemeOverrides: Record<SCHEMA.UITheme, [string, string][]>
A type for describing how to transform a UI theme branding
Defined in#
TUIThemes#
Ƭ TUIThemes: SCHEMA.UITheme
A hoisted set definition of theme elements
Defined in#
Variables#
ALL_BINARY_FORMATS#
• Const ALL_BINARY_FORMATS:
IFormat<string>[]
Defined in#
ALL_FORMATS#
• Const ALL_FORMATS:
IFormat<string>[]
Defined in#
ALL_MIME_FORMATS#
• Const ALL_MIME_FORMATS:
IFormat<string>[]
these are last-in-wins, don’t claim existing ones
Defined in#
ALL_TEXT_FORMATS#
• Const ALL_TEXT_FORMATS:
IFormat<string>[]
Defined in#
BINARY_FACTORY#
• Const BINARY_FACTORY: "Diagram Image"
The name of the factory that creates binary-based diagram widgets.
Defined in#
CMD_NS#
• Const CMD_NS: "ipydrawio"
A namespace for commands
Defined in#
DEBUG#
• Const DEBUG: boolean
Escape hatch for runtime debugging.
Defined in#
DRAWIO_ICON_CLASS_RE#
• Const DRAWIO_ICON_CLASS_RE: RegExp
A regular expression for rewriting icons
Defined in#
DRAWIO_ICON_SVG#
• Const DRAWIO_ICON_SVG: string = ICON_SVG
The raw icon SVG
Defined in#
IDiagramManager#
• IDiagramManager:
Token<IDiagramManager>
The token for the main extension, which can be used by other extensions
Defined in#
packages/ipydrawio/src/tokens.ts:101
IPYDRAWIO_METADATA#
• Const IPYDRAWIO_METADATA: string = NS
The metadata key for diagrams in notebooks
Defined in#
JSON_FACTORY#
• Const JSON_FACTORY: "Diagram Notebook"
The name of the factory that creates JSON-based diagram widgets.
Defined in#
MX_APP_MODEL_EVENTS#
• Const MX_APP_MODEL_EVENTS: TMXAppModelEvent[]
Defined in#
MX_EDITOR_EVENTS#
• Const MX_EDITOR_EVENTS: TMXMEditorEvent[]
Defined in#
MX_GRAPH_EVENTS#
• Const MX_GRAPH_EVENTS: TMXGraphEvent[]
Defined in#
MX_GRAPH_MODEL_EVENTS#
• Const MX_GRAPH_MODEL_EVENTS: TMXGraphModelEvent[]
Defined in#
MX_GRAPH_PAN_EVENTS#
• Const MX_GRAPH_PAN_EVENTS:
TMXGraphPanningEvent[]
Defined in#
MX_GRAPH_SELECT_EVENTS#
• Const MX_GRAPH_SELECT_EVENTS:
TMXGraphSelectionEvent[]
Defined in#
MX_GRAPH_SELECT_MODEL_EVENTS#
• Const MX_GRAPH_SELECT_MODEL_EVENTS:
TMXGraphSelectionModelEvent[]
Defined in#
MX_GRAPH_VIEW_EVENTS#
• Const MX_GRAPH_VIEW_EVENTS: TMXGraphViewEvent[]
Defined in#
NS#
• Const NS: string = PACKAGE.name
Defined in#
PACKAGE#
• Const PACKAGE: Object = _PACKAGE
Type declaration#
Name |
Type |
|---|---|
|
|
|
{ |
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
|
|
{ |
|
{ |
|
{ |
|
{ |
|
|
|
|
|
|
|
|
|
|
|
|
|
{ |
|
{ |
|
|
|
|
|
{ |
|
|
|
|
|
{ |
|
|
|
|
|
|
|
|
|
|
|
|
|
{ |
|
|
|
|
|
{ |
|
|
|
{ |
|
{ |
|
|
|
|
|
|
|
|
Defined in#
PLUGIN_ID#
• Const PLUGIN_ID: string
Defined in#
PNG_EDITABLE#
• Const PNG_EDITABLE: IFormat
Defined in#
PNG_PLAIN#
• Const PNG_PLAIN: IFormat
Defined in#
SVG_EDITABLE#
• Const SVG_EDITABLE: IFormat
Defined in#
SVG_PLAIN#
• Const SVG_PLAIN: IFormat
Defined in#
TEXT_FACTORY#
• Const TEXT_FACTORY: "Diagram"
The name of the factory that creates text-based diagram widgets.
Defined in#
UI_THEMES#
• Const UI_THEMES: UITheme[]
A concrete list of themes
Defined in#
UI_THEME_BASE_COLOR#
• Const UI_THEME_BASE_COLOR: "#f08705"
The theme color to replace
Defined in#
UI_THEME_COLORS#
• Const UI_THEME_COLORS:
TUIThemeOverrides
Override colors for theme icons
Defined in#
VERSION#
• Const VERSION: string = PACKAGE.version
Defined in#
XML_LEGACY#
• Const XML_LEGACY: IFormat
Defined in#
XML_NATIVE#
• Const XML_NATIVE: IFormat
Defined in#
drawioIcon#
• Const drawioIcon: LabIcon
Defined in#
drawioPlainIcon#
• Const drawioPlainIcon: LabIcon
Defined in#
drawioPngIcon#
• Const drawioPngIcon: LabIcon
Defined in#
drawioSvgIcon#
• Const drawioSvgIcon: LabIcon
Defined in#
drawioThemeIcons#
• Const drawioThemeIcons: Record<UITheme, LabIcon>
Defined in#
Functions#
stripDataURI#
▸ stripDataURI(raw): string
Parameters#
Name |
Type |
|---|---|
|
|
Returns#
string
Defined in#
unbase64SVG#
▸ unbase64SVG(raw): string
Parameters#
Name |
Type |
|---|---|
|
|
Returns#
string
Defined in#
packages/ipydrawio/src/utils.ts:22
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.