Full Code of hediet/vscode-drawio for AI

main 21c8a129044a cached
88 files
1.2 MB
632.6k tokens
349 symbols
1 requests
Download .txt
Showing preview only (1,232K chars total). Download the full file or copy to clipboard to get everything.
Repository: hediet/vscode-drawio
Branch: main
Commit: 21c8a129044a
Files: 88
Total size: 1.2 MB

Directory structure:
gitextract_vl_x46wx/

├── .gitattributes
├── .github/
│   └── workflows/
│       ├── deploy.yml
│       ├── opened-issues-triage.yml
│       └── test.yml
├── .gitignore
├── .gitmodules
├── .prettierignore
├── .prettierrc.json
├── .vscode/
│   ├── launch.json
│   ├── settings.json
│   └── tasks.json
├── CHANGELOG.md
├── LICENSE.md
├── NOTES.md
├── README.md
├── docs/
│   ├── code-link.md
│   └── plugins.md
├── drawio-custom-plugins/
│   ├── src/
│   │   ├── drawio-types.d.ts
│   │   ├── focus.ts
│   │   ├── index.ts
│   │   ├── linkSelectedNodeWithData.ts
│   │   ├── liveshare.ts
│   │   ├── menu-entries.ts
│   │   ├── propertiesDialog.ts
│   │   ├── styles.css
│   │   ├── types.d.ts
│   │   └── vscode.ts
│   ├── tsconfig.json
│   └── webpack.config.ts
├── examples/
│   ├── .vscode/
│   │   └── settings.json
│   ├── formats/
│   │   └── README.md
│   ├── linking/
│   │   ├── demo-src/
│   │   │   ├── Baz.ts
│   │   │   ├── Foo.ts
│   │   │   ├── test.cc
│   │   │   └── tsconfig.json
│   │   └── main.dio
│   ├── temp/
│   │   ├── Example.drawio
│   │   ├── Large.drawio
│   │   └── TestLibrary.xml
│   ├── tooltips-plugin.js
│   └── use-cases/
│       ├── class-diagrams.dio
│       ├── cloud-architecture.drawio
│       ├── packages.dio
│       ├── screenshots.dio
│       └── wireframes.dio
├── package.json
├── scripts/
│   ├── build-and-publish.ts
│   ├── changelog.ts
│   ├── run-script.js
│   └── tsconfig.json
├── src/
│   ├── Config.ts
│   ├── DrawioClient/
│   │   ├── CustomizedDrawioClient.ts
│   │   ├── DrawioClient.ts
│   │   ├── DrawioClientFactory.ts
│   │   ├── DrawioTypes.ts
│   │   ├── html.d.ts
│   │   ├── index.ts
│   │   ├── simpleDrawioLibrary.ts
│   │   └── webview-content.html
│   ├── DrawioEditorProviderBinary.ts
│   ├── DrawioEditorProviderText.ts
│   ├── DrawioEditorService.ts
│   ├── DrawioExtensionApi.ts
│   ├── Extension.ts
│   ├── features/
│   │   ├── CodeLinkFeature.ts
│   │   ├── EditDiagramAsTextFeature.ts
│   │   └── LiveshareFeature/
│   │       ├── CurrentViewState.ts
│   │       ├── LiveshareFeature.ts
│   │       ├── LiveshareSession.ts
│   │       ├── SessionModel.ts
│   │       ├── assets/
│   │       │   └── package.json
│   │       └── index.ts
│   ├── index.ts
│   ├── types.d.ts
│   ├── utils/
│   │   ├── SimpleTemplate.ts
│   │   ├── autorunTrackDisposables.ts
│   │   ├── buffer.ts
│   │   ├── formatValue.ts
│   │   ├── fromResource.ts
│   │   ├── groupBy.ts
│   │   ├── mapObject.ts
│   │   ├── path.ts
│   │   └── registerFailableCommand.ts
│   └── vscode-utils/
│       ├── VirtualFileSystemProvider.ts
│       └── VsCodeSetting.ts
├── tsconfig.json
├── tslint.json
└── webpack.config.ts

================================================
FILE CONTENTS
================================================

================================================
FILE: .gitattributes
================================================
* text=auto eol=lf


================================================
FILE: .github/workflows/deploy.yml
================================================
name: Deploy
on:
  push:
    branches:
      - main

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v2
        with:
          submodules: true
      - name: Install Node.js
        uses: actions/setup-node@v1
        with:
          node-version: "22"
      - run: yarn install --frozen-lockfile
      - run: yarn lint
      - run: yarn run-script build-and-publish
        env:
          GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          VSCE_PAT: ${{ secrets.MARKETPLACE_TOKEN }}
          GITHUB_RUN_NUMBER: ${{ github.run_number }}
      - name: Upload Artifacts
        uses: actions/upload-artifact@v4
        with:
          name: extension
          path: dist/extension.vsix


================================================
FILE: .github/workflows/opened-issues-triage.yml
================================================
name: Move new issues into Triage

on:
  issues:
    types: [opened]

jobs:
  automate-project-columns:
    runs-on: ubuntu-latest
    steps:
      - uses: alex-page/github-project-automation-plus@v0.2.3
        with:
          project: Backlog
          column: Triage
          repo-token: ${{ secrets.GH_TOKEN }}


================================================
FILE: .github/workflows/test.yml
================================================
name: Lint & Build
on:
  push:
    branches:
      - main
  pull_request:

jobs:
  build:
    strategy:
      matrix:
        os: [macos-latest, ubuntu-latest, windows-latest]
    runs-on: ${{ matrix.os }}
    steps:
      - name: Checkout
        uses: actions/checkout@v2
        with:
          submodules: true
      - name: Install Node.js
        uses: actions/setup-node@v1
        with:
          node-version: "22"
      - run: yarn install --frozen-lockfile
      - run: yarn lint
      - run: yarn build


================================================
FILE: .gitignore
================================================
out
dist
node_modules
.vscode-test/
*.vsix


================================================
FILE: .gitmodules
================================================
[submodule "drawio"]
	path = drawio
	url = https://github.com/jgraph/drawio


================================================
FILE: .prettierignore
================================================
*.d.ts


================================================
FILE: .prettierrc.json
================================================
{
	"trailingComma": "es5",
	"tabWidth": 4,
	"semi": true,
	"useTabs": true,
	"overrides": [
		{
			"files": ["*.yml"],
			"options": {
				"tabWidth": 2
			}
		}
	]
}


================================================
FILE: .vscode/launch.json
================================================
{
	"version": "0.2.0",
	"configurations": [
		{
			"name": "Launch Drawio To Debug Plugins",
			"request": "launch",
			"type": "pwa-chrome",
			"url": "https://app.diagrams.net/",
			"webRoot": "${workspaceFolder}/drawio-custom-plugins/src"
		},
		{
			"name": "Extension (dev)",
			"type": "extensionHost",
			"request": "launch",
			"runtimeExecutable": "${execPath}",
			"args": [
				"--disable-extensions",
				"--extensionDevelopmentPath=${workspaceFolder}",
				"${workspaceFolder}/examples"
			],
			"outFiles": ["${workspaceFolder}/dist/**/*.js"],
			"preLaunchTask": "npm: dev",
			"env": {
				"DEV": "1"
			}
		},
		{
			"name": "Extension",
			"type": "extensionHost",
			"request": "launch",
			"runtimeExecutable": "${execPath}",
			"args": [
				"--disable-extensions",
				"--extensionDevelopmentPath=${workspaceFolder}",
				"${workspaceFolder}/examples"
			],
			"outFiles": ["${workspaceFolder}/dist/**/*.js"],
			"preLaunchTask": "npm: dev"
		}
	]
}


================================================
FILE: .vscode/settings.json
================================================
{
	"files.exclude": {
		"out": false
	},
	"search.exclude": {
		"out": true
	},
	"editor.formatOnSave": true,
	"typescript.tsc.autoDetect": "off",
	"workbench.editorAssociations": {
		"*.drawio": "default",
		"*.dio": "default",
		"*.svg": "default"
	},
	"typescript.tsdk": "node_modules\\typescript\\lib"
}


================================================
FILE: .vscode/tasks.json
================================================
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
{
	"version": "2.0.0",
	"tasks": [
		{
			"type": "npm",
			"script": "dev",
			"problemMatcher": {
				"base": "$tsc",
				"background": {
					"activeOnStart": true,
					"beginsPattern": "assets",
					"endsPattern": "compiled"
				}
			},
			"isBackground": true,
			"presentation": {
				"reveal": "never"
			},
			"group": {
				"kind": "build",
				"isDefault": true
			}
		},
		{
			"type": "npm",
			"script": "dev-drawio-plugins",
			"problemMatcher": {
				"base": "$tsc",
				"background": {
					"activeOnStart": true,
					"beginsPattern": "assets",
					"endsPattern": "compiled"
				}
			},
			"isBackground": true,
			"presentation": {
				"reveal": "never"
			},
			"group": {
				"kind": "build",
				"isDefault": true
			}
		}
	]
}


================================================
FILE: CHANGELOG.md
================================================
# Change Log

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.9.0]

### Fixed

- Reverts change to automatically follow VS Code dark/light theme [#457](https://github.com/hediet/vscode-drawio/issues/457)


## [1.8.0]

### Fixed

- v1.7.0 breaks themes [#456](https://github.com/hediet/vscode-drawio/issues/456)

## [1.7.0]

### Changed

-   Updates Draw.io to 26.0.2
-   Removes donation dialog
-   Do not let draw.io handle cmd+p/cmd+shift+p keyboard shortcuts on Mac

### Added

-   Introduces setting `hediet.vscode-drawio.resizeImages` (fixes [#360](https://github.com/hediet/vscode-drawio/issues/360))

### Fixed

-   Maths not rendered when exporting diagram (address [#180](https://github.com/hediet/vscode-drawio/issues/180))
-   Shapes not loading (BPMN + general) (fixes [#354](https://github.com/hediet/vscode-drawio/issues/354))

## [1.6.5] - 2022-03-16

### Added

-   Two commands to allow code linking to work with hierarchical document symbols (addresses [#167](https://github.com/hediet/vscode-drawio/issues/167), [291](https://github.com/hediet/vscode-drawio/issues/291))
    -   `linkSymbolWithSelectedNode` to link by symbol path and document URI
    -   `linkWsSymbolWithSelectedNode` to link solely by symbol path
-   Add support for settings:
    -   `zoomFactor` to control trackpad and mouse wheel sensitivity (fixes [#301](https://github.com/hediet/vscode-drawio/issues/301))
    -   `globalVars` to bypass arbitrary custom plugin configuration to `Editor.globalVars` (addresses [#298](https://github.com/hediet/vscode-drawio/issues/298))

## [1.6.4] - 2021-12-21

### Changed

-   Updates Draw.io to 16.0.0

## [1.6.3]

### Changed

-   Add support for settings:
    -   `style`
    -   `defaultVertexStyle`
    -   `defaultEdgeStyle`
    -   `colorNames`
-   `defaultColorSchemes` setting can now have a title attribute
-   Updates Draw.io to 14.9.9
-   Migrates to memento for draw.io local-storage

## [1.6.2]

### Fixed

-   Removes redundant web extension kind definition.

## [1.6.1]

### Fixed

-   Files can be linked again.

## [1.6.0] - 2021-07-11

### Changed

-   Updates Draw.io to 14.8.0
-   Code Link Match filter includes characters `<`, `>` and `,` to support generic class names (fixes [#240](https://github.com/hediet/vscode-drawio/issues/240)).

### Fixed

-   When Draw.io applies an external change to the document, it no longer emits another change (fixes [#215](https://github.com/hediet/vscode-drawio/issues/215)).
-   Emits proper line breaks instead of &#xa; (fixes [#209](https://github.com/hediet/vscode-drawio/issues/209)).
-   When execution of a command throws, a more detailed error message is shown (fixes [#239](https://github.com/hediet/vscode-drawio/issues/239)).

### Added

-   Uses full `zh-tw` language code (instead of just `zh`) if VS Code reports this language.
-   Makes the extension ui, workspace and web ready.

## [1.5.0] - 2021-05-29

### Changed

-   Updates Draw.io to 14.7.3.

### Added

-   Add support for untrusted workspaces.
-   Adds support for sketch theme.

## [1.4.0] - 2021-02-14

### Changed

-   Removes metadata from xml. This includes an etag, last modified date and other information.

### Added

-   SVG link targets are configurable now (see [#204](https://github.com/hediet/vscode-drawio/issues/204)).
-   Option to disable SVG 1.1 warning

### Fixed

-   When changing properties in the properties dialog and saving the diagram after applying the change, the diagram was saved as compressed xml (if it was opened as xml). With this fix it is always saved as uncompressed xml.

## [1.3.0] - 2021-01-17

### Changed

-   Updates drawio to 14.2.4.
-   Implements _Properties_ dialog to configure scale and border for SVG and PNG exports.

## [1.2.0] - 2020-11-19

### Changed

-   Updates drawio to 13.10.0.

## [1.1.0] - 2020-11-08

### Added

-   A context menu item has been added to the explorer view to link nodes to arbitrary files (see [#169](https://github.com/hediet/vscode-drawio/issues/169)).

### Fixed

-   `shift+f3` (find previous) is uncovered when the find-widget is visible (see [#174](https://github.com/hediet/vscode-drawio/pull/174), by [@fbehrens](https://github.com/fbehrens)).
-   Fixes that code link changes didn't trigger a document change.

## [1.0.3] - 2020-10-15

### Added

-   Add "Preset Colors" and "Custom Color Schemes" settings (see [#145](https://github.com/hediet/vscode-drawio/issues/145), by [@AvroraPolnareff](https://github.com/AvroraPolnareff)).
-   Add "New Draw.io Diagram" to the command palette (see [#145](https://github.com/hediet/vscode-drawio/issues/145)).

## [1.0.2] - 2020-10-12

### Fixed

-   Fix webview error when data directory is symlink (see [#152](https://github.com/hediet/vscode-drawio/pull/152), by [@jingyu9575](https://github.com/jingyu9575)).

## [1.0.1] - 2020-10-07

### Fixed

-   Fixes bug that leads to too many sponsorship dialogs.
-   Disables Alt+Shift+S and Ctrl+Shift+S, as everything save-related is handled by VS Code (see [#144](https://github.com/hediet/vscode-drawio/issues/144)).

## [1.0.0] - 2020-10-04

### Added

-   Enhanced Liveshare support: Cursors and selections of other participants are now shown.
-   Code Links can now refer to arbitrary code spans, not only to symbols.
-   Adds export/convert/save entries to the drawio menu.
-   Supports custom drawio plugins.
-   Other VS Code extensions can provide custom drawio plugins.
-   Adds a status bar item to quickly change the current drawio theme.
-   Adds drawio-language-mode (see [#130](https://github.com/hediet/vscode-drawio/issues/130)).
-   Users of the Insiders Build are asked for feedback after some activity time.
-   Users of the Stable Build are asked for sponsorship after some activity time.

### Changed

-   Updates drawio to 13.6.5.
-   Code Link looks for `#symbol` references in the entire label, not just in the beginning.
-   Hides the option to convert a drawio file format to itself.
-   Changes Category to "Visualization".

### Fixed

-   Fixes loss of data when changing theme in binary drawio editor with unsaved changes.
-   Fixes export/convert output to wrong directory when filepath contains '.' (see [#117](https://github.com/hediet/vscode-drawio/pull/117), by [@fatalc](https://github.com/fatalc)).
-   Fixes color problem when using light drawio theme in dark vscode theme (see [#129](https://github.com/hediet/vscode-drawio/issues/129)).

## [0.7.2] - 2020-06-28

### Added

-   Symbol Code Link Feature
-   "Draw.io: Change Theme" Command
-   Experimental Manual Code Link Feature (disabled by default)
-   Experimental Command "Edit Diagram as Text" (disabled by default)

### Changed

-   Uses `https://embed.diagrams.net/` as default URL when using the online mode.

## [0.7.1] - 2020-06-13

### Fixed

-   Fixes base URL. Resolves [#53](https://github.com/hediet/vscode-drawio/issues/53) and [#74](https://github.com/hediet/vscode-drawio/issues/74). (Implemented by [Speedy37](https://github.com/Speedy37))

## [0.7.0] - 2020-06-11

### Added

-   Support for creating and editing \*.drawio.png files!

### Changed

-   Ctrl-P is now forwarded to VS Code (see [#77](https://github.com/hediet/vscode-drawio/issues/77)).

## [0.6.6] - 2020-05-31

### Added

-   Read-only view when diffing diagrams.

### Changed

-   Better xml canonicalization. If only non-significant whitespace has been changed, the diagram should never reload.

### Fixed

-   Prevents Draw.io from marking the diagram as changed if it got reloaded from disk.

## [0.6.1]

-   Adds hediet.vscode-drawio.editor.customFonts to configure custom fonts.
-   Adds hediet.vscode-drawio.editor.customLibraries to configure custom fonts.
-   Encodes hediet.vscode-drawio.local-storage to make editing more difficult (other settings should be used for that).
-   Reloads diagram editor when the config changes.
-   Writes localStorage to the settings file it was read from.

## [0.6.0]

-   Implements a command that lets you export a diagram to svg, png or drawio.

## [0.5.2]

-   Implements a command that lets you convert a diagram to other editabled formats (e.g. drawio.svg).

## [0.5.1]

-   Fixes F1/Ctrl+Tab/Ctrl+Shift+P shortcuts.

## [0.5.0]

-   Reduces the size of the extension significantly.
-   Does not spawn an http server anymore to host Draw.io
-   Uses new Draw.io merge API for better Live-Share experience.

## [0.4.0]

-   Supports Draw.io features that required local storage:
    -   Scratchpad
    -   Languages
    -   Selected Libraries
    -   Layout Settings
-   Uses current VS Code locale settings for Draw.io.
-   Removes export options as they did not work.
-   Fixes bug when using VS Code remote development.
-   Fixes bug that caused empty drawio diagrams to be saved with xml compression.
-   Technical code improvements.

## [0.3.0]

-   Supports editing `*.drawio.svg` files.
-   Introduces `hediet.vscode-drawio.theme` to configure the theme used in the Draw.io editor.
-   Logs the drawio iframe/extension communication.
-   Fixes a memory leak.
-   Fixes a bug that resets the view/undo stack on save.

## [0.2.0]

-   Implements offline mode (enabled by default).
-   Implements config to disable offline mode.
-   Implements config to choose a custom drawio url.

## [0.1.3]

-   Treats `*.dio` files the same as `*.drawio` files.
-   Makes extension compatible with VS Code 1.44.

## [0.1.0]

-   Initial release


================================================
FILE: LICENSE.md
================================================
                    GNU GENERAL PUBLIC LICENSE
                       Version 3, 29 June 2007

Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.

                            Preamble

The GNU General Public License is a free, copyleft license for
software and other kinds of works.

The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.

When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.

To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.

For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.

Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.

For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.

Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.

Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.

The precise terms and conditions for copying, distribution and
modification follow.

                       TERMS AND CONDITIONS

0. Definitions.

"This License" refers to version 3 of the GNU General Public License.

"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.

"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.

To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.

A "covered work" means either the unmodified Program or a work based
on the Program.

To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.

To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.

An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.

1. Source Code.

The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.

A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.

The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.

The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.

The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.

The Corresponding Source for a work in source code form is that
same work.

2. Basic Permissions.

All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.

You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.

Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.

3. Protecting Users' Legal Rights From Anti-Circumvention Law.

No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.

When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.

4. Conveying Verbatim Copies.

You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.

You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.

5. Conveying Modified Source Versions.

You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:

    a) The work must carry prominent notices stating that you modified
    it, and giving a relevant date.

    b) The work must carry prominent notices stating that it is
    released under this License and any conditions added under section
    7.  This requirement modifies the requirement in section 4 to
    "keep intact all notices".

    c) You must license the entire work, as a whole, under this
    License to anyone who comes into possession of a copy.  This
    License will therefore apply, along with any applicable section 7
    additional terms, to the whole of the work, and all its parts,
    regardless of how they are packaged.  This License gives no
    permission to license the work in any other way, but it does not
    invalidate such permission if you have separately received it.

    d) If the work has interactive user interfaces, each must display
    Appropriate Legal Notices; however, if the Program has interactive
    interfaces that do not display Appropriate Legal Notices, your
    work need not make them do so.

A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.

6. Conveying Non-Source Forms.

You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:

    a) Convey the object code in, or embodied in, a physical product
    (including a physical distribution medium), accompanied by the
    Corresponding Source fixed on a durable physical medium
    customarily used for software interchange.

    b) Convey the object code in, or embodied in, a physical product
    (including a physical distribution medium), accompanied by a
    written offer, valid for at least three years and valid for as
    long as you offer spare parts or customer support for that product
    model, to give anyone who possesses the object code either (1) a
    copy of the Corresponding Source for all the software in the
    product that is covered by this License, on a durable physical
    medium customarily used for software interchange, for a price no
    more than your reasonable cost of physically performing this
    conveying of source, or (2) access to copy the
    Corresponding Source from a network server at no charge.

    c) Convey individual copies of the object code with a copy of the
    written offer to provide the Corresponding Source.  This
    alternative is allowed only occasionally and noncommercially, and
    only if you received the object code with such an offer, in accord
    with subsection 6b.

    d) Convey the object code by offering access from a designated
    place (gratis or for a charge), and offer equivalent access to the
    Corresponding Source in the same way through the same place at no
    further charge.  You need not require recipients to copy the
    Corresponding Source along with the object code.  If the place to
    copy the object code is a network server, the Corresponding Source
    may be on a different server (operated by you or a third party)
    that supports equivalent copying facilities, provided you maintain
    clear directions next to the object code saying where to find the
    Corresponding Source.  Regardless of what server hosts the
    Corresponding Source, you remain obligated to ensure that it is
    available for as long as needed to satisfy these requirements.

    e) Convey the object code using peer-to-peer transmission, provided
    you inform other peers where the object code and Corresponding
    Source of the work are being offered to the general public at no
    charge under subsection 6d.

A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.

A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.

"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.

If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).

The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.

Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.

7. Additional Terms.

"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.

When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.

Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:

    a) Disclaiming warranty or limiting liability differently from the
    terms of sections 15 and 16 of this License; or

    b) Requiring preservation of specified reasonable legal notices or
    author attributions in that material or in the Appropriate Legal
    Notices displayed by works containing it; or

    c) Prohibiting misrepresentation of the origin of that material, or
    requiring that modified versions of such material be marked in
    reasonable ways as different from the original version; or

    d) Limiting the use for publicity purposes of names of licensors or
    authors of the material; or

    e) Declining to grant rights under trademark law for use of some
    trade names, trademarks, or service marks; or

    f) Requiring indemnification of licensors and authors of that
    material by anyone who conveys the material (or modified versions of
    it) with contractual assumptions of liability to the recipient, for
    any liability that these contractual assumptions directly impose on
    those licensors and authors.

All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.

If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.

Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.

8. Termination.

You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).

However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.

Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.

Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.

9. Acceptance Not Required for Having Copies.

You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.

10. Automatic Licensing of Downstream Recipients.

Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.

An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.

You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.

11. Patents.

A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".

A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.

Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.

In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.

If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.

If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.

A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.

Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.

12. No Surrender of Others' Freedom.

If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.

13. Use with the GNU Affero General Public License.

Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.

14. Revised Versions of this License.

The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.

Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.

If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.

Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.

15. Disclaimer of Warranty.

THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.

16. Limitation of Liability.

IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.

17. Interpretation of Sections 15 and 16.

If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.

                     END OF TERMS AND CONDITIONS

            How to Apply These Terms to Your New Programs

If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.

To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

    <one line to give the program's name and a brief idea of what it does.>
    Copyright (C) <year>  <name of author>

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>.

Also add information on how to contact you by electronic and paper mail.

If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:

    <program>  Copyright (C) <year>  <name of author>
    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
    This is free software, and you are welcome to redistribute it
    under certain conditions; type `show c' for details.

The hypothetical commands `show w' and`show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".

You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.

The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.


================================================
FILE: NOTES.md
================================================

Use `returnbounds` to get xml right after load:
```js
// Sends the bounds of the graph to the host after parsing
if (urlParams['returnbounds'] == '1' || urlParams['proto'] == 'json')
```

================================================
FILE: README.md
================================================
# Draw.io VS Code Integration

[![](https://img.shields.io/twitter/follow/hediet_dev.svg?style=social)](https://twitter.com/intent/follow?screen_name=hediet_dev)

This unofficial extension integrates [Draw.io](https://app.diagrams.net/) (also known as [diagrams.net](https://www.diagrams.net/)) into VS Code.  
Mentioned in the official diagrams.net [blog](https://www.diagrams.net/blog/embed-diagrams-vscode).

## Features

-   Edit `.drawio`, `.dio`, `.drawio.svg` or `.drawio.png` files in the Draw.io editor.
    -   To create a new diagram, simply create an empty `*.drawio`, `*.drawio.svg` or `*.drawio.png` file and open it.
    -   `.drawio.svg` are valid `.svg` files that can be embedded in Github readme files! No export needed.
    -   `.drawio.png` are valid `.png` files! No export needed. You should use `.svg` though whenever possible - they look much better!
    -   To convert between different formats, use the `Draw.io: Convert To...` command.
-   Uses an offline version of Draw.io by default.
-   Multiple Draw.io themes are available.
-   Use Liveshare to collaboratively edit a diagram with others.
-   Nodes/edges can be linked with code spans.

## Demo

![](./docs/demo.gif)


## Editing .drawio.svg/.drawio.png Files

You can directly edit and save `.drawio.svg` and `.drawio.png` files.
These files are perfectly valid svg/png-images that contain an embedded Draw.io diagram.
Whenever you edit such a file, the svg/png part of that file is kept up to date.

The logo of this extension is such a `.drawio.png` file that has been created with the extension itself!

![](./docs/drawio-png.gif)

If diffs are important for you, you should prefer `.drawio` and avoid `.drawio.png` diagrams.

## Collaboratively Edit Or Present Diagrams

With version 1.0 of this extension, extensive support for [VS Code Liveshare](https://visualstudio.microsoft.com/de/services/live-share/) has been added. You can now edit or present your Draw.io diagrams remotely, while seeing each participant's cursor and selection! This can be used for discussing, reviewing or brainstorming diagrams.
With Draw.io's freehand drawing tool and integrated LaTeX support, this extension becomes an advanced whiteboard solution that can be used for remote code interviews!

![](./docs/liveshare-demo.gif)

_Internally, this extension synchronizes Draw.io diagrams with text documents.
These text documents are shared by Liveshare. As Liveshare has no understanding of the text, modification conflicts might occur on simultaneous modifications._

## Code Link Feature

In the status bar, you can enable or disable the code link feature.
If it is enabled and you double click on a node whose label starts with `#`,
you will perform a workspace search for a symbol matching the rest of the label.

If you have a node labeled `#MyClass` and a class of name `MyClass`, you will jump to its source if you double click the node!

**Please note that you have to open at least one file of the project that contains the symbol.**
Otherwise, VS Code will not consider this project when searching for symbols.
This file itself does not have to contain the symbol though.

Thanks to my latest github sponsors, this feature is open source and freely available now.

_TIP_: If you open the draw.io editor to the right side (i.e. the second editor column) and navigate to a symbol,
the diagram will stay visible.

![](./docs/demo-code-link.gif)

## Themes

<details>
    <summary><b>Available Draw.io Themes</b></summary>
    <!-- Please use HTML syntax here so that it works for Github and mkdocs -->
    <ul>
        <li><p>Theme "atlas"</p><img src="docs/theme-atlas.png" alt="atlas" width="800"></li>
        <li><p>Theme "Kennedy"</p><img src="docs/theme-Kennedy.png" alt="Kennedy" width="800"></li>
        <li><p>Theme "min"</p><img src="docs/theme-min.png" alt="min" width="800"</li>
        <li><p>Theme "dark"</p><img src="docs/theme-dark.png" alt="dark" width="800"></li>
    </ul>
</details>

## Associate `.svg` Files With The Draw.io Editor

By default, this extension only handles `*.drawio.svg` files.
Add this to your VS Code `settings.json` file if you want to associate it with `.svg` files:

```json
"workbench.editorAssociations": {
    "*.svg": "hediet.vscode-drawio-text",
}
```

You won't be able to edit arbitrary SVG files though - only those that have been created with Draw.io or this extension!

## Editing the Diagram and its XML Side by Side

You can open the same `*.drawio` file with the Draw.io editor and as xml file.
They are synchronized, so you can switch between them as you like it.
This is super practical if you want to use find/replace to rename text or other features of VS Code to speed up your diagram creation/edit process.
Use the `View: Reopen Editor With...` command to toggle between the text or the Draw.io editor. You can open multiple editors for the same file.
This does not make much sense for SVG files though, as the draw.io diagram is stored in its metadata.

![](./docs/drawio-xml.gif)

## Contributors

-   Henning Dieterichs, [hediet](https://github.com/hediet) on Github (Main Contributor / Author)
-   Vincent Rouillé, [Speedy37](https://github.com/Speedy37) on Github

## See Also / Similar Extensions

-   [Draw.io](https://app.diagrams.net/) - This extension relies on the giant work of Draw.io. Their embedding feature enables this extension! This extension bundles a recent version of Draw.io.
-   [vscode-drawio](https://github.com/eightHundreds/vscode-drawio) by eightHundreds.

## Other Cool Extensions

If you like this extension, you might like [my other extensions](https://marketplace.visualstudio.com/search?term=henning%20dieterichs&target=VSCode) too:

-   **[Debug Visualizer](https://marketplace.visualstudio.com/items?itemName=hediet.debug-visualizer)**: An extension for visualizing data structures while debugging.
-   **[Real-Time Debugging](https://marketplace.visualstudio.com/items?itemName=hediet.realtime-debugging)**: This extension visualizes how your code is being executed.


================================================
FILE: docs/code-link.md
================================================
# VS Code Draw.io Integration - Code Links (Since 0.7.2)

The Code Link feature lets you link Draw.io nodes and edges to source code symbols.
Just name a node or edge `#MySymbol` where `MySymbol` is the name of the symbol you want to link to.
When code link is enabled (see the status bar) and you double click on a node or edge whith such a label, you will jump to the symbol definition.

![](./demo-code-link.gif)

Disable Code Link or select a node and press F2 if you want to change the label.

This feature works with any programming language that implements the VS Code workspace symbol search.
In TypeScript, symbols are functions, classes, consts, interfaces, ...

Code Links also work for `*.drawio.png` and `*.drawio.svg` files which are plain `*.png` and `*.svg` files with embedded Draw.io metadata that can be put on Github.
The Code Link Feature does not work on Github though.

## Link Document Symbols

![](./code-link-symbol-demo.gif)

Code Link supports hierarchical document symbols. First, select the node, then navigate to the document and run the "Link Symbol With Selected Node" command. Select your symbol from the dropdown. This will link the node to a symbol as well as the current docment URI.

Hierarchy levels are delimited by the dot "`.`" and you can choose to edit the paths by pressing "Ctrl+M" within the Draw.io editor.

You can also run "Link Workspace Symbol With Selected Node" to link a symbol path without linking to the specific docment URI. This way, documents can be moved freely without breaking the code link. However, some symbol providers don't cooperate with exporting workspace symbols -- when this occurs, a warning will be shown.

## Link Screenshots with Symbols

Since you can directly paste images into Draw.io diagrams, you can use this feature to connect
screenshots of react components to their source:

![](./code-link-with-screenshots.gif)

## Applications

This feature can be used in many ways:

-   for documentation
-   for quick code navigation (like visual bookmarks)
-   for diagram based code tours

## Thank You

Thank you to Draw.io for being so open and enabling this kind of stuff, thank you to all the Contributors of this extension and thank you so much for my Sponsors on Github that really motivate me implementing features like this!


================================================
FILE: docs/plugins.md
================================================
# VS Code Draw.io Integration - plugins

The plugins feature lets you load Draw.io plugins, just as you can by opening
the online version of Draw.io with the `?p=svgdata` query parameter:
<https://www.draw.io/?p=svgdata>.

Draw.io has a list of [sample plugins](https://www.drawio.com/doc/faq/plugins)
which can be copied, or you may create your own.

## Enabling a plugin in the Draw.io Integration

Plugins currently needs to be loaded from an absolute path in the Draw.io
Integration extension.  Thus for compatibility reasons (e.g., in a repository
shared between multiple people), the plugin likely needs to be added to the
workspace folder where your diagrams are located as well.  To facilitate this,
the path can be specified using the `${workspaceFolder}` variable, effectively
allowing you to specify a relative path within your workspace.

Plugins are added using the `hediet.vscode-drawio.plugins` configuration
property.  Adding this to the workspace settings makes sure that the plugin is
automatically loaded for anyone that edits Draw.io files inside this workspace.

Example:

1. Download the Draw.io sample plugin `svgdata.js`, and place it in the root of
   the workspace.

1. Add the following to the workspace settings:

    ```json
    "hediet.vscode-drawio.plugins": [
        {
            "file": "${workspaceFolder}/svgdata.js"
        }
    ],
    ```

1. Open any Draw.io file

1. Accept or deny loading of the plugin

    If this is the first time after adding the plugin definition, or if the
    plugin was changed, then the Draw.io Integration will show you a dialogue
    box, asking you to allow or disallow loading of the given plugin.

    What ever action you choose, is written to the
    `hediet.vscode-drawio.knownPlugins` property, in the user settings (scope)
    by the Draw.io Integration extension.

    Your decision is explicitly only read and written to the user scope, to
    ensure that a redistributed workspace can't load a plugin without you
    previously having accepted the specific version of a plugin (determined
    through the hash of the file).

    Example:

    ```json
    "hediet.vscode-drawio.knownPlugins": [
        {
            "pluginId": "file:///full/path/to/workspace/svgdata.js",
            "fingerprint": "<sha256>",
            "allowed": true // or false if you disallowed it
        }
    ],
    ```

================================================
FILE: drawio-custom-plugins/src/drawio-types.d.ts
================================================
declare const Draw: {
    loadPlugin(handler: (ui: DrawioUI) => void): void;
};

declare const log: any;
declare class mxCellHighlight {
    constructor(graph: DrawioGraph, color: string, arg: number);

    public highlight(arg: DrawioCellState | null): void;
    public destroy(): void;
}

declare class mxResources {
    static parse(value: string): void;
    static get(key: string): string;
}

declare class mxMouseEvent {
    public readonly graphX: number;
    public readonly graphY: number;
}

declare const mxEvent: {
    DOUBLE_CLICK: string;
    CHANGE: string;
};

declare const mxUtils: {
	isNode(node: any): node is HTMLElement;
	createXmlDocument(): XMLDocument;
};


declare interface DrawioUI {
    fileNode: Element | null;
    hideDialog(): void;
    showDialog(...args: any[]): void;
    editor: DrawioEditor;
    actions: DrawioActions;
    menus: DrawioMenus;
    importLocalFile(args: boolean): void;
}

interface DrawioMenus {
    get(name: string): any;
    addMenuItems(menu: any, arg: any, arg2: any): void;
}

interface DrawioActions {
    addAction(name: string, action: () => void): void;
    get(name: string): { funct: () => void };
}

declare interface DrawioEditor {
	graph: DrawioGraph;
}

declare interface DrawioGraph {
	defaultThemeName: string;
	insertVertex(arg0: undefined, arg1: null, label: string, arg3: number, arg4: number, arg5: number, arg6: number, arg7: string): void;
	addListener: any;
	model: DrawioGraphModel;
	getLabel(cell: DrawioCell): string;
    getSelectionModel(): DrawioGraphSelectionModel;
    view: DrawioGraphView;

    addMouseListener(listener: {
        mouseMove?: (graph: DrawioGraph, event: mxMouseEvent) => void;
        mouseDown?: (graph: DrawioGraph, event: mxMouseEvent) => void
        mouseUp?: (graph: DrawioGraph, event: mxMouseEvent) => void;
    }): void;
}

declare interface DrawioGraphView {
    getState(cell: DrawioCell): DrawioCellState;
    canvas: SVGElement;
}

declare interface DrawioCellState {
    cell: DrawioCell;
}

declare interface DrawioGraphSelectionModel {
	addListener(event: string, handler: (...args: any[]) => void): void;
    cells: DrawioCell[];
}

declare interface DrawioCell {
    id: string;
    style: string
}

declare interface DrawioGraphModel {
    setValue(c: DrawioCell, label: string | any): void;
    beginUpdate(): void;
    endUpdate(): void;
	cells: Record<any, DrawioCell>;
    setStyle(cell: DrawioCell, style: string): void;
    isVertex(cell: DrawioCell): boolean;
}

================================================
FILE: drawio-custom-plugins/src/focus.ts
================================================
import { sendEvent } from "./vscode";

Draw.loadPlugin((ui) => {
	sendEvent({ event: "pluginLoaded", pluginId: "focus" });

	if (document.hasFocus()) {
		sendEvent({ event: "focusChanged", hasFocus: true });
	} else {
		sendEvent({ event: "focusChanged", hasFocus: false });
	}

	window.addEventListener("focus", () => {
		sendEvent({ event: "focusChanged", hasFocus: true });
	});

	window.addEventListener("blur", () => {
		sendEvent({ event: "focusChanged", hasFocus: false });
	});
});


================================================
FILE: drawio-custom-plugins/src/index.ts
================================================
import "./linkSelectedNodeWithData";
import "./liveshare";
import "./focus";
import "./menu-entries";

Draw.loadPlugin((ui) => {
	(window as any).hediet_DbgUi = ui;
});


================================================
FILE: drawio-custom-plugins/src/linkSelectedNodeWithData.ts
================================================
import {
	ConservativeFlattenedEntryParser,
	FlattenToDictionary,
	JSONValue,
} from "@hediet/json-to-dictionary";
import { sendEvent } from "./vscode";

Draw.loadPlugin((ui) => {
	sendEvent({ event: "pluginLoaded", pluginId: "linkSelectedNodeWithData" });

	let nodeSelectionEnabled = false;
	const graph = ui.editor.graph;
	const highlight = new mxCellHighlight(graph, "#00ff00", 8);

	const model = graph.model;
	let activeCell: DrawioCell | undefined = undefined;

	graph.addListener(mxEvent.DOUBLE_CLICK, function (sender: any, evt: any) {
		if (!nodeSelectionEnabled) {
			return;
		}

		var cell: any | null = evt.getProperty("cell");
		if (cell == null)
			return;
		const data = getLinkedData(cell);
		const label = getLabelTextOfCell(cell);

		if (!data && !label.match(/#([a-zA-Z0-9_]+)/)) {
			return;
		}

		sendEvent({ event: "nodeSelected", label, linkedData: data });
		evt.consume();
	});

	function getLabelTextOfCell(cell: any): string {
		const labelHtml = graph.getLabel(cell);
		const el = document.createElement("html");
		el.innerHTML = labelHtml; // label can be html
		return el.innerText;
	}

	const selectionModel = graph.getSelectionModel();
	selectionModel.addListener(mxEvent.CHANGE, (sender: any, evt: any) => {
		// selection has changed
		const cells = selectionModel.cells;
		if (cells.length >= 1) {
			const selectedCell = cells[0];
			activeCell = selectedCell;
			(window as any).hediet_Cell = selectedCell;
		} else {
			activeCell = undefined;
		}
	});

	const prefix = "hedietLinkedDataV1";
	const flattener = new FlattenToDictionary({
		parser: new ConservativeFlattenedEntryParser({
			prefix,
			separator: "_",
		}),
	});

	function getLinkedData(cell: { value: unknown }) {
		if (!mxUtils.isNode(cell.value)) {
			return undefined;
		}
		const kvs = [...(cell.value.attributes as any)]
			.filter((a) => a.name.startsWith(prefix))
			.map((a) => [a.name, a.value]);
		if (kvs.length === 0) {
			return undefined;
		}

		const r: Record<string, string> = {};
		for (const [k, v] of kvs) {
			r[k] = v;
		}
		return flattener.unflatten(r);
	}

	function setLinkedData(cell: any, linkedData: JSONValue) {
		let newNode: HTMLElement;
		if (!mxUtils.isNode(cell.value)) {
			const doc = mxUtils.createXmlDocument();
			const obj = doc.createElement("object");
			obj.setAttribute("label", cell.value || "");
			newNode = obj;
		} else {
			newNode = cell.value.cloneNode(true);
		}

		for (const a of [
			...((newNode.attributes as any) as { name: string }[]),
		]) {
			if (a.name.startsWith(prefix)) {
				newNode.attributes.removeNamedItem(a.name);
			}
		}

		const kvp = flattener.flatten(linkedData);
		for (const [k, v] of Object.entries(kvp)) {
			newNode.setAttribute(k, v);
		}

		// don't use cell.setValue as it does not trigger a change
		model.setValue(cell, newNode);
	}

	window.addEventListener("message", (evt) => {
		if (evt.source !== window.opener) {
			return;
		}

		console.log(evt);
		const data = JSON.parse(evt.data) as CustomDrawioAction;

		switch (data.action) {
			case "setNodeSelectionEnabled": {
				nodeSelectionEnabled = data.enabled;
				break;
			}
			case "linkSelectedNodeWithData": {
				if (activeCell !== undefined) {
					log("Set linkedData to " + data.linkedData);
					graph.model.beginUpdate();
					try {
						setLinkedData(activeCell, data.linkedData);
					} finally {
						graph.model.endUpdate();
					}
					highlight.highlight(graph.view.getState(activeCell));
					setTimeout(() => {
						highlight.highlight(null);
					}, 500);
				}
				break;
			}
			case "getVertices": {
				const vertices = Object.values(graph.model.cells)
					.filter((c) => graph.model.isVertex(c))
					.map((c: any) => ({ id: c.id, label: graph.getLabel(c) }));
				sendEvent({
					event: "getVertices",
					message: data,
					vertices: vertices,
				});
				break;
			}
			case "updateVertices": {
				const vertices = data.verticesToUpdate;

				graph.model.beginUpdate();
				try {
					for (const v of vertices) {
						const c = graph.model.cells[v.id];
						if (!c) {
							log(`Unknown cell "${v.id}"!`);
							continue;
						}
						if (graph.getLabel(c) !== v.label) {
							graph.model.setValue(c, v.label);
						}
					}
				} finally {
					graph.model.endUpdate();
				}
				break;
			}
			case "addVertices": {
				// why is this called twice?
				log("add vertices is being called");
				const vertices = data.vertices;

				graph.model.beginUpdate();
				try {
					let i = 0;
					for (const v of vertices) {
						graph.insertVertex(
							undefined,
							null,
							v.label,
							i * 120,
							0,
							100,
							50,
							"rectangle"
						);
						i++;
					}
				} finally {
					graph.model.endUpdate();
				}
				break;
			}
			default: {
				return;
			}
		}

		evt.preventDefault();
		evt.stopPropagation();
	});
});


================================================
FILE: drawio-custom-plugins/src/liveshare.ts
================================================
import { sendEvent } from "./vscode";
import * as m from "mithril";

Draw.loadPlugin((ui) => {
	setTimeout(() => {
		sendEvent({ event: "pluginLoaded", pluginId: "LiveShare" });

		const graph = ui.editor.graph;
		const selectionModel = graph.getSelectionModel();

		selectionModel.addListener(mxEvent.CHANGE, () => {
			const cells = selectionModel.cells;
			sendEvent({
				event: "selectedCellsChanged",
				selectedCellIds: cells.map((c) => c.id),
			});
		});

		const theme = graph.defaultThemeName === "darkTheme" ? "dark" : "light";

		/*
		new Cursor(graph.view.canvas, "test", {
			color: "#2965CC",
			name: "Henning Dieterichs",
			theme,
		}).setPosition({
			x: 1200,
			y: 800,
		});

		const r = new SelectionRectangle(graph.view.canvas, "test", {
			color: "blue",
		});
		
		r.setPositions(
			{
				x: 1250,
				y: 850,
			},
			{
				x: 1400,
				y: 1000,
			}
		);
		*/

		const cursors = new Set<Cursor>();
		const rectangles = new Set<SelectionRectangle>();
		const hightlights = new Highlights(graph);

		window.addEventListener("message", (evt) => {
			if (evt.source !== window.opener) {
				return;
			}
			const data = JSON.parse(evt.data) as CustomDrawioAction;

			switch (data.action) {
				case "updateLiveshareViewState": {
					for (const c of cursors) {
						if (!data.cursors.some((c) => c.id === c.id)) {
							cursors.delete(c);
							c.dispose();
						}
					}
					for (const c of data.cursors) {
						const existing =
							[...cursors].find(
								(existingCursor) => existingCursor.id === c.id
							) ||
							new Cursor(graph.view.canvas, c.id, {
								color: c.color,
								name: c.label || "",
								theme,
							});
						cursors.add(existing);
						existing.setPosition(transform(c.position));
					}

					const highlightInfos = new Array<HighlightInfo>();
					for (const s of data.selectedCells) {
						for (const selectedCellId of s.selectedCellIds) {
							const cell = graph.model.cells[selectedCellId];
							highlightInfos.push({ cell, color: s.color });
						}
					}
					hightlights.updateHighlights(highlightInfos);

					for (const c of rectangles) {
						if (
							!data.selectedRectangles.some((c) => c.id === c.id)
						) {
							rectangles.delete(c);
							c.dispose();
						}
					}
					for (const c of data.selectedRectangles) {
						const existing =
							[...rectangles].find(
								(existingRectangle) =>
									existingRectangle.id === c.id
							) ||
							new SelectionRectangle(graph.view.canvas, c.id, {
								color: c.color,
							});
						rectangles.add(existing);
						existing.setPositions(
							transform(c.rectangle.start),
							transform(c.rectangle.end)
						);
					}

					break;
				}
			}
		});

		function transform({ x, y }: { x: number; y: number }) {
			const { scale, translate } = graph.view as any;
			return {
				x: (x + translate.x) * scale,
				y: (y + translate.y) * scale,
			};
		}

		function transformBack({ x, y }: { x: number; y: number }) {
			const { scale, translate } = graph.view as any;
			return { x: x / scale - translate.x, y: y / scale - translate.y };
		}

		graph.addMouseListener({
			mouseMove: (graph: DrawioGraph, event: mxMouseEvent) => {
				const pos = { x: event.graphX, y: event.graphY };
				const graphPos = transformBack(pos);
				sendEvent({ event: "cursorChanged", position: graphPos });
			},
			mouseDown: () => {},
			mouseUp: () => {},
		});

		function patchFn(
			clazz: any,
			fnName: string,
			fnFactory: (old: Function) => (this: any, ...args: any) => any
		) {
			const old = clazz[fnName];
			clazz[fnName] = fnFactory(old);
		}

		patchFn(mxRubberband.prototype, "update", function (old) {
			return function (...args: any[]) {
				let first = { ...this.first };
				let second = { x: args[0], y: args[1] };
				old.apply(this, args);

				if (first.x > second.x) {
					const temp = first.x;
					first.x = second.x;
					second.x = temp;
				}
				if (first.y > second.y) {
					const temp = first.y;
					first.y = second.y;
					second.y = temp;
				}

				sendEvent({
					event: "selectedRectangleChanged",
					rect: {
						start: transformBack(first),
						end: transformBack(second),
					},
				});
			};
		});

		patchFn(mxRubberband.prototype, "reset", function (old) {
			return function (...args: any[]) {
				old.apply(this, args);

				sendEvent({
					event: "selectedRectangleChanged",
					rect: undefined,
				});
			};
		});
	});
});

declare class mxRubberband {}

const svgns = "http://www.w3.org/2000/svg";

class SelectionRectangle {
	private readonly g = document.createElementNS(svgns, "g");
	private pos1: { x: number; y: number } = { x: 0, y: 0 };
	private pos2: { x: number; y: number } = { x: 0, y: 0 };

	constructor(
		canvas: SVGElement,
		public readonly id: string,
		private readonly options: { color: string }
	) {
		canvas.appendChild(this.g);
		this.g.setAttribute("pointer-events", "none");
	}

	public setPositions(
		pos1: { x: number; y: number },
		pos2: { x: number; y: number }
	) {
		this.pos1 = pos1;
		this.pos2 = pos2;
		this.render();
	}

	private render() {
		m.render(
			this.g,
			m(
				"rect",
				{
					x: this.pos1.x,
					y: this.pos1.y,
					width: this.pos2.x - this.pos1.x,
					height: this.pos2.y - this.pos1.y,
					style: {
						fill: this.options.color,
						fillOpacity: 0.08,
						stroke: this.options.color,
						strokeOpacity: 0.8,
					},
				},
				[]
			)
		);
	}

	public dispose(): void {
		this.g.remove();
	}
}

interface CursorOptions {
	color: string;
	///borderColor: string;
	name: string;
	theme: "dark" | "light";
}

class Cursor {
	private readonly g = document.createElementNS(svgns, "g");

	constructor(
		canvas: SVGElement,
		public readonly id: string,
		options: CursorOptions
	) {
		canvas.appendChild(this.g);
		this.g.setAttribute("pointer-events", "none");

		m.render(
			this.g,
			m("g", [
				m("g", { transform: "scale(0.06,0.06)" }, [
					m("path", {
						fill: options.color,
						style: {
							stroke:
								options.theme === "dark" ? "white" : "black",
							strokeWidth: 10,
						},
						d:
							"M302.189 329.126H196.105l55.831 135.993c3.889 9.428-.555 19.999-9.444 23.999l-49.165 21.427c-9.165 4-19.443-.571-23.332-9.714l-53.053-129.136-86.664 89.138C18.729 472.71 0 463.554 0 447.977V18.299C0 1.899 19.921-6.096 30.277 5.443l284.412 292.542c11.472 11.179 3.007 31.141-12.5 31.141z",
					}),
				]),
				m(
					"text",
					{
						x: 10,
						y: 45,
						style: {
							fontSize: 12,
							fill: options.theme === "dark" ? "white" : "gray",
						},
					},
					[options.name]
				),
			])
		);
	}

	public setPosition(pos: { x: number; y: number }) {
		this.g.setAttribute("transform", `translate(${pos.x}, ${pos.y})`);
	}

	public dispose(): void {
		this.g.remove();
	}
}

interface HighlightInfo {
	color: string;
	cell: DrawioCell;
}

class Highlights {
	private readonly highlights = new Map<
		string,
		{ info: HighlightInfo; instance: mxCellHighlight }
	>();

	constructor(private readonly graph: DrawioGraph) {}

	private highlightInfoToStr(info: HighlightInfo): string {
		return JSON.stringify({ color: info.color, cell: info.cell.id });
	}

	public updateHighlights(highlights: HighlightInfo[]): void {
		const set = new Set(highlights.map((h) => this.highlightInfoToStr(h)));

		for (const [key, h] of this.highlights) {
			if (!set.has(key)) {
				h.instance.destroy();
				this.highlights.delete(key);
			}
		}

		for (const h of highlights) {
			const key = this.highlightInfoToStr(h);
			if (!this.highlights.has(key)) {
				const obj = {
					info: h,
					instance: new mxCellHighlight(this.graph, h.color, 8),
				};
				this.highlights.set(key, obj);
				obj.instance.highlight(this.graph.view.getState(h.cell));
			}
		}
	}
}


================================================
FILE: drawio-custom-plugins/src/menu-entries.ts
================================================
import { showDialog } from "./propertiesDialog";
import { sendEvent } from "./vscode";

Draw.loadPlugin((ui) => {
	sendEvent({ event: "pluginLoaded", pluginId: "menu-entries" });

	const importActionName = "vscode.import";
	mxResources.parse(`${importActionName}=Import...`);
	ui.actions.addAction(importActionName, () => ui.importLocalFile(true));

	const exportActionName = "vscode.export";
	mxResources.parse(`${exportActionName}=Export...`);
	ui.actions.addAction(exportActionName, () => {
		sendEvent({ event: "invokeCommand", command: "export" });
	});

	const convertActionName = "vscode.convert";
	mxResources.parse(`${convertActionName}=Convert...`);
	ui.actions.addAction(convertActionName, () => {
		sendEvent({ event: "invokeCommand", command: "convert" });
	});

	const saveActionName = "vscode.save";
	mxResources.parse(`${saveActionName}=Save`);
	ui.actions.addAction(saveActionName, () => {
		sendEvent({ event: "invokeCommand", command: "save" });
	});

	const propertiesActionName = "properties";
	ui.actions.addAction(propertiesActionName, () => {
		showDialog(ui);
	});

	const menu = ui.menus.get("file");
	const oldFunct = menu.funct;
	menu.funct = function (menu: any, parent: any) {
		oldFunct.apply(this, arguments);
		ui.menus.addMenuItems(
			menu,
			[
				"-",
				propertiesActionName,
				"-",
				importActionName,
				exportActionName,
				convertActionName,
				"-",
				saveActionName,
			],
			parent
		);
	};
});


================================================
FILE: drawio-custom-plugins/src/propertiesDialog.ts
================================================
import "./styles.css";
import * as m from "mithril";

export function showDialog(ui: DrawioUI) {
	const node = ui.fileNode;

	if (node == null) {
		return;
	}

	const initialScale = parseFloat(node.getAttribute("scale") || "1");
	const initialBorder = parseFloat(node.getAttribute("border") || "0");
	const initialLinkTarget = node.getAttribute("linkTarget");
	const initialDisableSvgWarning =
		node.getAttribute("disableSvgWarning") === "true";

	let scale = initialScale;
	let border = initialBorder;
	let linkTarget = initialLinkTarget;
	let disableSvgWarning = initialDisableSvgWarning;

	var div = document.createElement("div");
	div.style.height = "100%";
	m.render(
		div,
		m(
			"properties-dialog.div",
			{
				style: {
					fontFamily: "Segoe WPC,Segoe UI,sans-serif",
					display: "flex",
					flexDirection: "column",
					height: "100%",
				},
			},
			[
				m(
					"div",
					{
						style: {
							display: "flex",
							flexDirection: "column",
						},
					},
					[
						m(
							"h2",
							{ style: { marginTop: "4px" } },
							"Export Properties"
						),
						m(
							"div",
							{
								style: {
									display: "flex",
									flexDirection: "row",
									paddingTop: "8px",
									paddingBottom: "4px",
								},
							},
							[
								m("div", {}, mxResources.get("zoom") + ":"),
								m("div", { style: { flex: 1 } }),
								m("input", {
									value: scale * 100 + "%",
									oninput: (e: any) => {
										scale = Math.min(
											20,
											Math.max(
												0.01,
												parseInt(e.target.value) / 100
											)
										);
									},
								}),
							]
						),
						m(
							"div",
							{
								style: {
									display: "flex",
									flexDirection: "row",
									paddingBottom: "4px",
								},
							},
							[
								m(
									"div",
									{},
									mxResources.get("borderWidth") + ":"
								),
								m("div", { style: { flex: 1 } }),
								m("input", {
									value: border,
									oninput: (e: any) => {
										border = Math.max(
											0,
											parseInt(e.target.value)
										);
									},
								}),
							]
						),
						m(
							"div",
							{
								style: {
									display: "flex",
									flexDirection: "row",
									paddingBottom: "4px",
								},
							},
							[
								m("div", {}, mxResources.get("links") + ":"),
								m("div", { style: { flex: 1 } }),
								m(
									"select.geBtn",
									{
										value: linkTarget || "",
										oninput: (e: any) => {
											linkTarget = e.target.value;
										},
									},
									[
										m(
											"option",
											{ value: "" },
											mxResources.get("automatic")
										),
										m(
											"option",
											{ value: "_blank" },
											mxResources.get("openInNewWindow")
										),
										m(
											"option",
											{ value: "_top" },
											mxResources.get("openInThisWindow")
										),
									]
								),
							]
						),
						m(
							"div",
							{
								style: {
									display: "flex",
									flexDirection: "row",
									paddingBottom: "4px",
								},
							},
							[
								m("label", {}, [
									m("input", {
										type: "checkbox",
										checked: disableSvgWarning,
										onchange: (e: any) => {
											disableSvgWarning =
												e.target.checked;
										},
									}),
									"Disable SVG 1.1 warning",
								]),
							]
						),
					]
				),
				m("div", { style: { flex: 1 } }),
				m("div", { style: { textAlign: "right" } }, [
					m(
						"button.geBtn",
						{
							onclick: () => {
								ui.hideDialog();
							},
						},
						[mxResources.get("cancel")]
					),
					m(
						"button.geBtn.gePrimaryBtn",
						{
							onclick: () => {
								ui.hideDialog();

								if (
									scale === initialScale &&
									border === initialBorder &&
									linkTarget === initialLinkTarget &&
									disableSvgWarning ===
										initialDisableSvgWarning
								) {
									return;
								}

								if (linkTarget) {
									node.setAttribute("linkTarget", linkTarget);
								} else {
									node.removeAttribute("linkTarget");
								}
								node.setAttribute("scale", "" + scale);
								node.setAttribute("border", "" + border);

								if (disableSvgWarning) {
									node.setAttribute(
										"disableSvgWarning",
										"true"
									);
								} else {
									node.removeAttribute("disableSvgWarning");
								}

								ui.actions.get("save").funct();
							},
						},
						[mxResources.get("apply")]
					),
				]),
			]
		)
	);

	ui.showDialog(div, 350, 200, true, true);
}


================================================
FILE: drawio-custom-plugins/src/styles.css
================================================
li {
	padding: 3px 0;
}

================================================
FILE: drawio-custom-plugins/src/types.d.ts
================================================

declare type CustomDrawioAction = UpdateVerticesAction | AddVerticesAction | GetVerticesAction
    | LinkSelectedNodeWithDataAction | NodeSelectionEnabledAction | UpdateLiveshareViewState;
declare type CustomDrawioEvent = NodeSelectedEvent | GetVerticesResultEvent
    | UpdateLocalStorage | PluginLoaded | CursorChangedEvent | SelectionChangedEvent | FocusChangedEvent | InvokeCommandEvent | SelectionRectangleChangedEvent;

declare interface InvokeCommandEvent {
    event: "invokeCommand";
    command: "export" | "save" | "convert";
}

declare interface FocusChangedEvent {
    event: "focusChanged";
    hasFocus: boolean;
}

declare interface NodeSelectionEnabledAction {
    action: "setNodeSelectionEnabled";
    enabled: boolean;
}

declare interface UpdateVerticesAction {
    action: "updateVertices",
    verticesToUpdate: { id: string; label: string }[];
}

declare interface AddVerticesAction {
    action: "addVertices";
    vertices: { label: string }[];
}

declare interface GetVerticesAction {
    action: "getVertices";
}

declare interface LinkSelectedNodeWithDataAction {
    action: "linkSelectedNodeWithData";
    linkedData: any;
}

declare interface NodeSelectedEvent {
    event: "nodeSelected";
    linkedData: any;
    label: string;
}

declare interface GetVerticesResultEvent {
    event: "getVertices";
    message: GetVerticesAction;
    vertices: { id: string; label: string }[];
}

declare interface UpdateLocalStorage {
    event: "updateLocalStorage";
    newLocalStorage: Record<string, string>;
}

declare interface PluginLoaded {
    event: "pluginLoaded";
    pluginId: string;
}

// Liveshare 

declare interface CursorChangedEvent {
    event: "cursorChanged";
    position: { x: number, y: number } | undefined;
}

declare interface SelectionChangedEvent {
    event: "selectedCellsChanged";
    selectedCellIds: string[];
}

declare interface SelectionRectangleChangedEvent {
    event: "selectedRectangleChanged";
    rect: Rectangle | undefined;
}

declare interface Rectangle {
    start: { x: number, y: number },
    end: { x: number, y: number },
}

declare interface UpdateLiveshareViewState {
    action: "updateLiveshareViewState";
    cursors: ParticipantCursorInfo[];
    selectedCells: ParticipantSelectedCellsInfo[];
    selectedRectangles: ParticipantSelectedRectangleInfo[];
}

declare interface ParticipantCursorInfo {
    id: string;
    position: { x: number, y: number };
    label: string | undefined;
    color: string;
}

declare interface ParticipantSelectedCellsInfo {
    id: string;
    color: string;
    selectedCellIds: string[];
}

declare interface ParticipantSelectedRectangleInfo {
    id: string;
    color: string;
    rectangle: Rectangle;
}


================================================
FILE: drawio-custom-plugins/src/vscode.ts
================================================
export function sendEvent(data: CustomDrawioEvent) {
	if (window.opener) {
		window.opener.postMessage(JSON.stringify(data), "*");
	} else {
		console.log("sending >>>", data);
	}
}


================================================
FILE: drawio-custom-plugins/tsconfig.json
================================================
{
	"compilerOptions": {
		"module": "commonjs",
		"target": "es6",
		"outDir": "out",
		"lib": ["es6", "DOM"],
		"sourceMap": true,
		"rootDir": "./src",
		"strict": true,
		"experimentalDecorators": true
	},
	"include": ["./src/**/*"]
}


================================================
FILE: drawio-custom-plugins/webpack.config.ts
================================================
import * as webpack from "webpack";
import path = require("path");
import { CleanWebpackPlugin } from "clean-webpack-plugin";

const r = (file: string) => path.resolve(__dirname, file);

module.exports = {
	target: "web",
	entry: r("./src/index"),
	output: {
		path: r("../dist/custom-drawio-plugins"),
		filename: "index.js",
		libraryTarget: "window",
		devtoolModuleFilenameTemplate: "../[resource-path]",
	},
	devtool: "source-map",
	externals: {
		vscode: "commonjs vscode",
	},
	resolve: {
		extensions: [".ts", ".js"],
	},
	module: {
		rules: [
			{ test: /\.css$/, use: ["style-loader", "css-loader"] },
			{
				test: /\.html$/i,
				loader: "raw-loader",
			},
			{
				test: /\.ts$/,
				exclude: /node_modules/,
				use: [
					{
						loader: "ts-loader",
					},
				],
			},
		],
	},
	node: {
		__dirname: false,
	},
	plugins: [new CleanWebpackPlugin()],
} as webpack.Configuration;


================================================
FILE: examples/.vscode/settings.json
================================================
{
	"hediet.vscode-drawio.enableExperimentalFeatures": true,
	"hediet.vscode-drawio.offline": true,
	"hediet.vscode-drawio.plugins": [
		{
			"file": "${workspaceFolder}/tooltips-plugin.js"
		}
	],
	"hediet.vscode-drawio.defaultVertexStyle": {
		"fontColor": "#ff0000",
		"fontFamily": "Courier New",
		"fontSize": 18,
		"strokeWidth": 2,
		"strokeColor": "#ff0000"
	},
	"hediet.vscode-drawio.defaultEdgeStyle": {
		"fontColor": "#0000ff",
		"fontFamily": "Courier New",
		"fontSize": 18,
		"strokeWidth": 2,
		"strokeColor": "#0000ff",
		"endArrow": "none",
		"startArrow": "none",
		"edgeStyle": "orthogonalEdgeStyle",
		"orthogonal": 1,
		"elbow": "vertical"
	},
	"hediet.vscode-drawio.customColorSchemes": [
		[
			{
				"title": "Kind of pink",
				"fill": "#00ff00",
				"stroke": "none",
				"font": "#ffff00",
				"gradient": "#0000ff"
			},
			{
				"fill": "#ffffba",
				"stroke": "none"
			},
			{
				"fill": "#baffc9",
				"stroke": "none"
			},
			{
				"fill": "#bae1ff",
				"stroke": "none"
			},
			{
				"fill": "#eecbff",
				"stroke": "none"
			},
			{
				"fill": "#a2798f",
				"stroke": "none"
			},
			{
				"fill": "#8caba8",
				"stroke": "none"
			}
		],
		[
			{
				"fill": "#ffb3ba",
				"stroke": "none"
			},
			{
				"fill": "#ffdfba",
				"stroke": "none"
			},
			{
				"fill": "#ffffba",
				"stroke": "none"
			},
			{
				"fill": "#baffc9",
				"stroke": "none"
			},
			{
				"fill": "#bae1ff",
				"stroke": "none"
			},
			{
				"fill": "#eecbff",
				"stroke": "none"
			},
			{
				"fill": "#a2798f",
				"stroke": "none"
			},
			{
				"fill": "#8caba8",
				"stroke": "none"
			}
		]
	],
	"hediet.vscode-drawio.presetColors": ["ff0000", "00ff00"],
	"hediet.vscode-drawio.colorNames": {
		"FF0000": "Red",
		"00FF00": "Green"
	},
	"hediet.vscode-drawio.simpleLabels": false,
	"hediet.vscode-drawio.styles": [
		{},
		{
			"commonStyle": {
				"fontColor": "#5C5C5C",
				"strokeColor": "#006658",
				"fillColor": "#21C0A5"
			}
		},
		{
			"commonStyle": {
				"fontColor": "#095C86",
				"strokeColor": "#AF45ED",
				"fillColor": "#F694C1"
			},
			"edgeStyle": {
				"strokeColor": "#60E696"
			}
		},
		{
			"commonStyle": {
				"fontColor": "#E4FDE1",
				"strokeColor": "#028090",
				"fillColor": "#F45B69"
			},
			"graph": {
				"background": "#114B5F",
				"gridColor": "#0B3240"
			}
		}
	]
}


================================================
FILE: examples/formats/README.md
================================================
Draw.io diagrams can be embedded in markdown files!

SVG Diagram:

![](./Example.dio.svg)

PNG Diagram:

![](./Example.drawio.png)


================================================
FILE: examples/linking/demo-src/Baz.ts
================================================
class Baz {
    BazBar() {
        
    }
}

================================================
FILE: examples/linking/demo-src/Foo.ts
================================================

class Foo extends Baz {
    test: string;
}

class Bar {

}

================================================
FILE: examples/linking/demo-src/test.cc
================================================
void test() {}
void main() {}

template<typename T>
class MyClass {
    T method() {}
};

template<typename T>
void myFunc(T a) { }



================================================
FILE: examples/linking/demo-src/tsconfig.json
================================================
{
    "include": [
        "**/*"
    ]
}

================================================
FILE: examples/linking/main.dio
================================================
<mxfile host="65bd71144e" scale="1" border="0">
    <diagram id="MgYzXS6eyhghL7g_6re2" name="Page-1">
        <mxGraphModel dx="581" dy="585" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
            <root>
                <mxCell id="0"/>
                <mxCell id="1" parent="0"/>
                <object label="README.md" hedietLinkedDataV1_path="../../formats/README.md" hedietLinkedDataV1_start_col_x-num="0" hedietLinkedDataV1_start_line_x-num="2" hedietLinkedDataV1_end_col_x-num="22" hedietLinkedDataV1_end_line_x-num="4" id="3">
                    <mxCell style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                        <mxGeometry x="80" y="130" width="120" height="60" as="geometry"/>
                    </mxCell>
                </object>
                <object label="PDF" hedietLinkedDataV1_path="../../data/dummy.pdf" id="4">
                    <mxCell style="shape=note;whiteSpace=wrap;html=1;backgroundOutline=1;darkOpacity=0.05;" parent="1" vertex="1">
                        <mxGeometry x="100" y="230" width="80" height="100" as="geometry"/>
                    </mxCell>
                </object>
                <mxCell id="5" value="#Foo" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="80" y="370" width="120" height="60" as="geometry"/>
                </mxCell>
                <object label="Baz.BazBar()" hedietLinkedDataV1_symbol="Baz.BazBar" id="3ADTFjXa_awMoTPGBWK0-5">
                    <mxCell style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                        <mxGeometry x="80" y="470" width="120" height="60" as="geometry"/>
                    </mxCell>
                </object>
                <mxCell id="4bzpf4HTB4W7Uhsk-uCX-6" value="File + Code highlight test" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=18;fontFamily=Helvetica;fontColor=default;" parent="1" vertex="1">
                    <mxGeometry x="250" y="145" width="210" height="30" as="geometry"/>
                </mxCell>
                <mxCell id="4bzpf4HTB4W7Uhsk-uCX-7" value="File only test" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=18;fontFamily=Helvetica;fontColor=default;" parent="1" vertex="1">
                    <mxGeometry x="250" y="265" width="120" height="30" as="geometry"/>
                </mxCell>
                <mxCell id="4bzpf4HTB4W7Uhsk-uCX-8" value="#Symbol syntax test" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=18;fontFamily=Helvetica;fontColor=default;" parent="1" vertex="1">
                    <mxGeometry x="250" y="385" width="180" height="30" as="geometry"/>
                </mxCell>
                <mxCell id="4bzpf4HTB4W7Uhsk-uCX-9" value="Hierarchy path without linked document URI test" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=18;fontFamily=Helvetica;fontColor=default;" parent="1" vertex="1">
                    <mxGeometry x="250" y="485" width="400" height="30" as="geometry"/>
                </mxCell>
                <object label="Baz.BazBar()" hedietLinkedDataV1_path="../demo-src/Baz.ts" hedietLinkedDataV1_symbol="Baz.BazBar" id="KUhIoe1hMz0tjvnBnsYe-5">
                    <mxCell style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                        <mxGeometry x="80" y="560" width="120" height="60" as="geometry"/>
                    </mxCell>
                </object>
                <mxCell id="KUhIoe1hMz0tjvnBnsYe-6" value="Hierarchy path WITH linked document test" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;fontSize=18;fontFamily=Helvetica;fontColor=default;" parent="1" vertex="1">
                    <mxGeometry x="250" y="570" width="350" height="30" as="geometry"/>
                </mxCell>
            </root>
        </mxGraphModel>
    </diagram>
    <diagram id="zOhSraGW9aLSeXGnnNEO" name="Test C++ Code">
        <mxGraphModel dx="581" dy="585" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="1169" pageHeight="827" math="0" shadow="0">
            <root>
                <mxCell id="WdrI0oJoAQMZujuPcE8P-0"/>
                <mxCell id="WdrI0oJoAQMZujuPcE8P-1" parent="WdrI0oJoAQMZujuPcE8P-0"/>
                <object label="Link 1" hedietLinkedDataV1_path="../demo-src/test.cc" hedietLinkedDataV1_symbol="test()" id="WdrI0oJoAQMZujuPcE8P-2">
                    <mxCell style="whiteSpace=wrap;html=1;fontFamily=Helvetica;fontSize=18;fontColor=#ff0000;strokeWidth=2;" parent="WdrI0oJoAQMZujuPcE8P-1" vertex="1">
                        <mxGeometry x="70" y="70" width="210" height="60" as="geometry"/>
                    </mxCell>
                </object>
                <object label="Link 3" hedietLinkedDataV1_path="../demo-src/test.cc" hedietLinkedDataV1_symbol="myFunc&lt;T&gt;(T)" id="WdrI0oJoAQMZujuPcE8P-4">
                    <mxCell style="whiteSpace=wrap;html=1;fontFamily=Helvetica;fontSize=18;fontColor=#ff0000;strokeWidth=2;" parent="WdrI0oJoAQMZujuPcE8P-1" vertex="1">
                        <mxGeometry x="70" y="270" width="210" height="60" as="geometry"/>
                    </mxCell>
                </object>
                <object label="Link 4" hedietLinkedDataV1_path="../demo-src/test.cc" hedietLinkedDataV1_symbol="MyClass&lt;T&gt;" id="WdrI0oJoAQMZujuPcE8P-5">
                    <mxCell style="whiteSpace=wrap;html=1;fontFamily=Helvetica;fontSize=18;fontColor=#ff0000;strokeWidth=2;" parent="WdrI0oJoAQMZujuPcE8P-1" vertex="1">
                        <mxGeometry x="70" y="360" width="210" height="60" as="geometry"/>
                    </mxCell>
                </object>
                <object label="Link 2&lt;br&gt;" hedietLinkedDataV1_path="../demo-src/test.cc" hedietLinkedDataV1_symbol="MyClass&lt;T&gt;.method()" id="xvX_bhhY9qtDZdKVX92g-0">
                    <mxCell style="whiteSpace=wrap;html=1;fontFamily=Helvetica;fontSize=18;fontColor=#ff0000;strokeWidth=2;" parent="WdrI0oJoAQMZujuPcE8P-1" vertex="1">
                        <mxGeometry x="70" y="170" width="210" height="60" as="geometry"/>
                    </mxCell>
                </object>
            </root>
        </mxGraphModel>
    </diagram>
</mxfile>

================================================
FILE: examples/temp/Example.drawio
================================================
<mxfile host="65bd71144e" scale="1" border="0">
    <diagram id="6hGFLwfOUW9BJ-s0fimq" name="Page-1">
        <mxGraphModel dx="1096" dy="715" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
            <root>
                <mxCell id="0"/>
                <mxCell id="1" parent="0"/>
                <mxCell id="41" value="Hello 123 XXX" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="110" y="190" width="120" height="60" as="geometry"/>
                </mxCell>
            </root>
        </mxGraphModel>
    </diagram>
    <diagram id="NDbqaBDdeuva_EtJI3ZI" name="Page-2">
        <mxGraphModel dx="1096" dy="715" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
            <root>
                <mxCell id="g6Xm4N9dErYCmi6_g6sK-0"/>
                <mxCell id="g6Xm4N9dErYCmi6_g6sK-1" parent="g6Xm4N9dErYCmi6_g6sK-0"/>
                <mxCell id="g6Xm4N9dErYCmi6_g6sK-2" value="page 2 XXX" style="rounded=1;whiteSpace=wrap;html=1;" parent="g6Xm4N9dErYCmi6_g6sK-1" vertex="1">
                    <mxGeometry x="220" y="260" width="120" height="60" as="geometry"/>
                </mxCell>
            </root>
        </mxGraphModel>
    </diagram>
</mxfile>

================================================
FILE: examples/temp/Large.drawio
================================================
<mxfile host="localhost" modified="2020-05-11T18:35:49.905Z" agent="5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Code/1.45.0 Chrome/78.0.3904.130 Electron/7.2.4 Safari/537.36" etag="zi2wejrX4PboaisyBfI0" version="13.0.9">
    <diagram id="YCRAzSdguC1DIKJ5nqVH" name="Page-1">
        <mxGraphModel dx="5917" dy="1988" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
            <root>
                <mxCell id="0"/>
                <mxCell id="1" parent="0"/>
                <mxCell id="5" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="-10" y="49" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="6" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="70" y="49" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="7" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="150" y="49" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="8" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="230" y="49" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="9" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="310" y="49" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="10" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="390" y="49" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="11" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="470" y="49" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="12" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="550" y="49" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="13" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="630" y="49" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="14" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="710" y="49" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="15" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="-10" y="129" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="16" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="70" y="129" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="17" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="150" y="129" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="18" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="230" y="129" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="19" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="310" y="129" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="20" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="390" y="129" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="21" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="470" y="129" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="22" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="550" y="129" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="23" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="630" y="129" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="24" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="710" y="129" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="25" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="-10" y="209" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="26" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="70" y="209" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="27" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="150" y="209" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="28" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="230" y="209" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="29" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="310" y="209" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="30" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="390" y="209" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="31" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="470" y="209" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="32" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="550" y="209" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="33" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="630" y="209" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="34" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="710" y="209" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="35" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="-10" y="289" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="36" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="70" y="289" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="37" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="150" y="289" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="38" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="230" y="289" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="39" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="310" y="289" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="40" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="390" y="289" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="41" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="470" y="289" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="42" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="550" y="289" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="43" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="630" y="289" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="44" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="710" y="289" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="45" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="-10" y="369" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="46" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="70" y="369" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="47" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="150" y="369" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="48" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="230" y="369" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="49" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="310" y="369" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="50" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="390" y="369" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="51" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="470" y="369" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="52" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="550" y="369" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="53" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="630" y="369" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="54" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="710" y="369" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="55" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="-10" y="480" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="56" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="70" y="480" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="57" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="150" y="480" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="58" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="230" y="480" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="59" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="310" y="480" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="60" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="390" y="480" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="61" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="470" y="480" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="62" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="550" y="480" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="63" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="630" y="480" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="64" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="710" y="480" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="65" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="-10" y="560" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="66" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="70" y="560" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="67" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="150" y="560" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="68" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="230" y="560" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="69" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="310" y="560" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="70" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="390" y="560" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="71" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="470" y="560" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="72" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="550" y="560" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="73" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="630" y="560" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="74" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="710" y="560" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="75" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="-10" y="640" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="76" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="70" y="640" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="77" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="150" y="640" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="78" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="230" y="640" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="79" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="310" y="640" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="80" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="390" y="640" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="81" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="470" y="640" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="82" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="550" y="640" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="83" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="630" y="640" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="84" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="710" y="640" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="85" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="-10" y="720" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="86" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="70" y="720" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="87" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="150" y="720" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="88" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="230" y="720" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="89" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="310" y="720" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="90" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="390" y="720" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="91" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="470" y="720" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="92" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="550" y="720" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="93" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="630" y="720" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="94" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="710" y="720" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="95" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="-10" y="800" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="96" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="70" y="800" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="97" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="150" y="800" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="98" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="230" y="800" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="99" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="310" y="800" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="100" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="390" y="800" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="101" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="470" y="800" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="102" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="550" y="800" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="103" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="630" y="800" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="104" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="710" y="800" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="105" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="790" y="49" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="106" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="870" y="49" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="107" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="950" y="49" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="108" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1030" y="49" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="109" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1110" y="49" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="110" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1190" y="49" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="111" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1270" y="49" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="112" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1350" y="49" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="113" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1430" y="49" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="114" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1510" y="49" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="115" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="790" y="129" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="116" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="870" y="129" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="117" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="950" y="129" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="118" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1030" y="129" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="119" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1110" y="129" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="120" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1190" y="129" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="121" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1270" y="129" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="122" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1350" y="129" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="123" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1430" y="129" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="124" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1510" y="129" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="125" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="790" y="209" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="126" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="870" y="209" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="127" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="950" y="209" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="128" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1030" y="209" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="129" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1110" y="209" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="130" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1190" y="209" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="131" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1270" y="209" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="132" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1350" y="209" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="133" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1430" y="209" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="134" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1510" y="209" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="135" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="790" y="289" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="136" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="870" y="289" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="137" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="950" y="289" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="138" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1030" y="289" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="139" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1110" y="289" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="140" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1190" y="289" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="141" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1270" y="289" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="142" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1350" y="289" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="143" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1430" y="289" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="144" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1510" y="289" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="145" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="790" y="369" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="146" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="870" y="369" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="147" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="950" y="369" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="148" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1030" y="369" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="149" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1110" y="369" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="150" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1190" y="369" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="151" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1270" y="369" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="152" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1350" y="369" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="153" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1430" y="369" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="154" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1510" y="369" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="155" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="790" y="480" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="156" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="870" y="480" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="157" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="950" y="480" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="158" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1030" y="480" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="159" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1110" y="480" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="160" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1190" y="480" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="161" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1270" y="480" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="162" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1350" y="480" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="163" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1430" y="480" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="164" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1510" y="480" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="165" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="790" y="560" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="166" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="870" y="560" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="167" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="950" y="560" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="168" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1030" y="560" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="169" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1110" y="560" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="170" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1190" y="560" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="171" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1270" y="560" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="172" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1350" y="560" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="173" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1430" y="560" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="174" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1510" y="560" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="175" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="790" y="640" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="176" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="870" y="640" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="177" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="950" y="640" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="178" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1030" y="640" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="179" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1110" y="640" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="180" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1190" y="640" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="181" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1270" y="640" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="182" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1350" y="640" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="183" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1430" y="640" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="184" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1510" y="640" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="185" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="790" y="720" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="186" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="870" y="720" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="187" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="950" y="720" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="188" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1030" y="720" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="189" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1110" y="720" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="190" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1190" y="720" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="191" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1270" y="720" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="192" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1350" y="720" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="193" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1430" y="720" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="194" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1510" y="720" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="195" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="790" y="800" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="196" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="870" y="800" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="197" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="950" y="800" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="198" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1030" y="800" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="199" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1110" y="800" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="200" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1190" y="800" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="201" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1270" y="800" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="202" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1350" y="800" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="203" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1430" y="800" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="204" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1510" y="800" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="205" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="790" y="900" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="206" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="870" y="900" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="207" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="950" y="900" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="208" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1030" y="900" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="209" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1110" y="900" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="210" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1190" y="900" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="211" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1270" y="900" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="212" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1350" y="900" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="213" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1430" y="900" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="214" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1510" y="900" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="215" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="790" y="980" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="216" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="870" y="980" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="217" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="950" y="980" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="218" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1030" y="980" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="219" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1110" y="980" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="220" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1190" y="980" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="221" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1270" y="980" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="222" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1350" y="980" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="223" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1430" y="980" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="224" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1510" y="980" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="225" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="790" y="1060" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="226" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="870" y="1060" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="227" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="950" y="1060" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="228" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1030" y="1060" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="229" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1110" y="1060" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="230" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1190" y="1060" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="231" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1270" y="1060" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="232" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1350" y="1060" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="233" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1430" y="1060" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="234" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1510" y="1060" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="235" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="790" y="1140" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="236" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="870" y="1140" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="237" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="950" y="1140" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="238" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1030" y="1140" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="239" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1110" y="1140" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="240" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1190" y="1140" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="241" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1270" y="1140" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="242" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1350" y="1140" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="243" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1430" y="1140" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="244" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1510" y="1140" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="245" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="790" y="1220" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="246" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="870" y="1220" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="247" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="950" y="1220" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="248" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1030" y="1220" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="249" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1110" y="1220" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="250" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1190" y="1220" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="251" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1270" y="1220" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="252" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1350" y="1220" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="253" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1430" y="1220" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="254" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1510" y="1220" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="255" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="790" y="1330" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="256" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="870" y="1330" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="257" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="950" y="1330" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="258" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1030" y="1330" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="259" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1110" y="1330" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="260" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1190" y="1330" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="261" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1270" y="1330" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="262" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1350" y="1330" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="263" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1430" y="1330" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="264" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1510" y="1330" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="265" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="790" y="1410" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="266" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="870" y="1410" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="267" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="950" y="1410" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="268" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1030" y="1410" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="269" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1110" y="1410" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="270" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1190" y="1410" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="271" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1270" y="1410" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="272" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1350" y="1410" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="273" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1430" y="1410" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="274" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1510" y="1410" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="275" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="790" y="1490" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="276" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="870" y="1490" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="277" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="950" y="1490" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="278" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1030" y="1490" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="279" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1110" y="1490" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="280" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1190" y="1490" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="281" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1270" y="1490" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="282" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1350" y="1490" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="283" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1430" y="1490" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="284" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1510" y="1490" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="285" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="790" y="1570" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="286" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="870" y="1570" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="287" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="950" y="1570" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="288" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1030" y="1570" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="289" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1110" y="1570" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="290" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1190" y="1570" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="291" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1270" y="1570" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="292" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1350" y="1570" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="293" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1430" y="1570" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="294" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1510" y="1570" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="295" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="790" y="1650" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="296" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="870" y="1650" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="297" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="950" y="1650" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="298" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1030" y="1650" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="299" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1110" y="1650" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="300" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1190" y="1650" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="301" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1270" y="1650" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="302" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1350" y="1650" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="303" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1430" y="1650" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="304" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1510" y="1650" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="305" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="-10" y="900" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="306" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="70" y="900" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="307" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="150" y="900" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="308" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="230" y="900" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="309" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="310" y="900" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="310" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="390" y="900" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="311" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="470" y="900" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="312" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="550" y="900" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="313" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="630" y="900" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="314" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="710" y="900" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="315" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="-10" y="980" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="316" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="70" y="980" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="317" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="150" y="980" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="318" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="230" y="980" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="319" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="310" y="980" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="320" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="390" y="980" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="321" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="470" y="980" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="322" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="550" y="980" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="323" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="630" y="980" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="324" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="710" y="980" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="325" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="-10" y="1060" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="326" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="70" y="1060" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="327" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="150" y="1060" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="328" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="230" y="1060" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="329" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="310" y="1060" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="330" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="390" y="1060" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="331" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="470" y="1060" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="332" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="550" y="1060" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="333" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="630" y="1060" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="334" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="710" y="1060" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="335" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="-10" y="1140" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="336" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="70" y="1140" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="337" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="150" y="1140" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="338" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="230" y="1140" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="339" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="310" y="1140" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="340" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="390" y="1140" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="341" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="470" y="1140" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="342" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="550" y="1140" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="343" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="630" y="1140" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="344" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="710" y="1140" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="345" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="-10" y="1220" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="346" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="70" y="1220" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="347" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="150" y="1220" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="348" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="230" y="1220" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="349" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="310" y="1220" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="350" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="390" y="1220" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="351" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="470" y="1220" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="352" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="550" y="1220" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="353" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="630" y="1220" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="354" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="710" y="1220" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="355" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="-10" y="1330" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="356" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="70" y="1330" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="357" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="150" y="1330" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="358" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="230" y="1330" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="359" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="310" y="1330" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="360" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="390" y="1330" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="361" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="470" y="1330" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="362" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="550" y="1330" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="363" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="630" y="1330" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="364" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="710" y="1330" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="365" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="-10" y="1410" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="366" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="70" y="1410" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="367" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="150" y="1410" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="368" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="230" y="1410" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="369" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="310" y="1410" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="370" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="390" y="1410" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="371" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="470" y="1410" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="372" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="550" y="1410" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="373" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="630" y="1410" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="374" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="710" y="1410" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="375" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="-10" y="1490" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="376" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="70" y="1490" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="377" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="150" y="1490" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="378" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="230" y="1490" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="379" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="310" y="1490" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="380" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="390" y="1490" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="381" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="470" y="1490" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="382" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="550" y="1490" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="383" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="630" y="1490" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="384" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="710" y="1490" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="385" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="-10" y="1570" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="386" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="70" y="1570" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="387" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="150" y="1570" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="388" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="230" y="1570" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="389" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="310" y="1570" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="390" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="390" y="1570" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="391" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="470" y="1570" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="392" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="550" y="1570" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="393" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="630" y="1570" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="394" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="710" y="1570" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="395" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="-10" y="1650" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="396" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="70" y="1650" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="397" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="150" y="1650" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="398" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="230" y="1650" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="399" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="310" y="1650" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="400" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="390" y="1650" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="401" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="470" y="1650" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="402" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="550" y="1650" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="403" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="630" y="1650" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="404" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="710" y="1650" width="40" height="40" as="geometry"/>
                </mxCell>
                <mxCell id="405" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1590" y="49" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="406" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1670" y="49" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="407" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1750" y="49" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="408" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1830" y="49" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="409" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1910" y="49" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="410" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1990" y="49" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="411" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="2070" y="49" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="412" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="2150" y="49" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="413" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="2230" y="49" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="414" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="2310" y="49" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="415" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1590" y="129" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="416" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1670" y="129" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="417" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1750" y="129" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="418" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1830" y="129" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="419" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1910" y="129" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="420" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1990" y="129" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="421" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="2070" y="129" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="422" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="2150" y="129" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="423" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="2230" y="129" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="424" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="2310" y="129" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="425" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1590" y="209" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="426" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1670" y="209" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="427" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1750" y="209" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="428" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1830" y="209" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="429" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1910" y="209" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="430" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1990" y="209" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="431" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="2070" y="209" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="432" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="2150" y="209" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="433" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="2230" y="209" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="434" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="2310" y="209" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="435" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1590" y="289" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="436" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1670" y="289" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="437" value="3" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1750" y="289" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="438" value="4" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1830" y="289" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="439" value="5" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1910" y="289" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="440" value="6" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1990" y="289" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="441" value="7" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="2070" y="289" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="442" value="8" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="2150" y="289" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="443" value="9" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="2230" y="289" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="444" value="10" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="2310" y="289" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="445" value="1" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1590" y="369" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="446" value="2" style="rounded=0;whiteSpace=wrap;html=1;" parent="1" vertex="1">
                    <mxGeometry x="1670" y="369" width="40" height="39" as="geometry"/>
                </mxCell>
                <mxCell id="447" value="3" style="rounded=0;whiteSpace=wrap;
Download .txt
gitextract_vl_x46wx/

├── .gitattributes
├── .github/
│   └── workflows/
│       ├── deploy.yml
│       ├── opened-issues-triage.yml
│       └── test.yml
├── .gitignore
├── .gitmodules
├── .prettierignore
├── .prettierrc.json
├── .vscode/
│   ├── launch.json
│   ├── settings.json
│   └── tasks.json
├── CHANGELOG.md
├── LICENSE.md
├── NOTES.md
├── README.md
├── docs/
│   ├── code-link.md
│   └── plugins.md
├── drawio-custom-plugins/
│   ├── src/
│   │   ├── drawio-types.d.ts
│   │   ├── focus.ts
│   │   ├── index.ts
│   │   ├── linkSelectedNodeWithData.ts
│   │   ├── liveshare.ts
│   │   ├── menu-entries.ts
│   │   ├── propertiesDialog.ts
│   │   ├── styles.css
│   │   ├── types.d.ts
│   │   └── vscode.ts
│   ├── tsconfig.json
│   └── webpack.config.ts
├── examples/
│   ├── .vscode/
│   │   └── settings.json
│   ├── formats/
│   │   └── README.md
│   ├── linking/
│   │   ├── demo-src/
│   │   │   ├── Baz.ts
│   │   │   ├── Foo.ts
│   │   │   ├── test.cc
│   │   │   └── tsconfig.json
│   │   └── main.dio
│   ├── temp/
│   │   ├── Example.drawio
│   │   ├── Large.drawio
│   │   └── TestLibrary.xml
│   ├── tooltips-plugin.js
│   └── use-cases/
│       ├── class-diagrams.dio
│       ├── cloud-architecture.drawio
│       ├── packages.dio
│       ├── screenshots.dio
│       └── wireframes.dio
├── package.json
├── scripts/
│   ├── build-and-publish.ts
│   ├── changelog.ts
│   ├── run-script.js
│   └── tsconfig.json
├── src/
│   ├── Config.ts
│   ├── DrawioClient/
│   │   ├── CustomizedDrawioClient.ts
│   │   ├── DrawioClient.ts
│   │   ├── DrawioClientFactory.ts
│   │   ├── DrawioTypes.ts
│   │   ├── html.d.ts
│   │   ├── index.ts
│   │   ├── simpleDrawioLibrary.ts
│   │   └── webview-content.html
│   ├── DrawioEditorProviderBinary.ts
│   ├── DrawioEditorProviderText.ts
│   ├── DrawioEditorService.ts
│   ├── DrawioExtensionApi.ts
│   ├── Extension.ts
│   ├── features/
│   │   ├── CodeLinkFeature.ts
│   │   ├── EditDiagramAsTextFeature.ts
│   │   └── LiveshareFeature/
│   │       ├── CurrentViewState.ts
│   │       ├── LiveshareFeature.ts
│   │       ├── LiveshareSession.ts
│   │       ├── SessionModel.ts
│   │       ├── assets/
│   │       │   └── package.json
│   │       └── index.ts
│   ├── index.ts
│   ├── types.d.ts
│   ├── utils/
│   │   ├── SimpleTemplate.ts
│   │   ├── autorunTrackDisposables.ts
│   │   ├── buffer.ts
│   │   ├── formatValue.ts
│   │   ├── fromResource.ts
│   │   ├── groupBy.ts
│   │   ├── mapObject.ts
│   │   ├── path.ts
│   │   └── registerFailableCommand.ts
│   └── vscode-utils/
│       ├── VirtualFileSystemProvider.ts
│       └── VsCodeSetting.ts
├── tsconfig.json
├── tslint.json
└── webpack.config.ts
Download .txt
SYMBOL INDEX (349 symbols across 41 files)

FILE: drawio-custom-plugins/src/drawio-types.d.ts
  class mxCellHighlight (line 6) | class mxCellHighlight {
  class mxResources (line 13) | class mxResources {
  class mxMouseEvent (line 18) | class mxMouseEvent {
  type DrawioUI (line 34) | interface DrawioUI {
  type DrawioMenus (line 44) | interface DrawioMenus {
  type DrawioActions (line 49) | interface DrawioActions {
  type DrawioEditor (line 54) | interface DrawioEditor {
  type DrawioGraph (line 58) | interface DrawioGraph {
  type DrawioGraphView (line 74) | interface DrawioGraphView {
  type DrawioCellState (line 79) | interface DrawioCellState {
  type DrawioGraphSelectionModel (line 83) | interface DrawioGraphSelectionModel {
  type DrawioCell (line 88) | interface DrawioCell {
  type DrawioGraphModel (line 93) | interface DrawioGraphModel {

FILE: drawio-custom-plugins/src/linkSelectedNodeWithData.ts
  function getLabelTextOfCell (line 37) | function getLabelTextOfCell(cell: any): string {
  function getLinkedData (line 65) | function getLinkedData(cell: { value: unknown }) {
  function setLinkedData (line 83) | function setLinkedData(cell: any, linkedData: JSONValue) {

FILE: drawio-custom-plugins/src/liveshare.ts
  function transform (line 117) | function transform({ x, y }: { x: number; y: number }) {
  function transformBack (line 125) | function transformBack({ x, y }: { x: number; y: number }) {
  function patchFn (line 140) | function patchFn(
  class mxRubberband (line 189) | class mxRubberband {}
  class SelectionRectangle (line 193) | class SelectionRectangle {
    method constructor (line 198) | constructor(
    method setPositions (line 207) | public setPositions(
    method render (line 216) | private render() {
    method dispose (line 238) | public dispose(): void {
  type CursorOptions (line 243) | interface CursorOptions {
  class Cursor (line 250) | class Cursor {
    method constructor (line 253) | constructor(
    method setPosition (line 292) | public setPosition(pos: { x: number; y: number }) {
    method dispose (line 296) | public dispose(): void {
  type HighlightInfo (line 301) | interface HighlightInfo {
  class Highlights (line 306) | class Highlights {
    method constructor (line 312) | constructor(private readonly graph: DrawioGraph) {}
    method highlightInfoToStr (line 314) | private highlightInfoToStr(info: HighlightInfo): string {
    method updateHighlights (line 318) | public updateHighlights(highlights: HighlightInfo[]): void {

FILE: drawio-custom-plugins/src/propertiesDialog.ts
  function showDialog (line 4) | function showDialog(ui: DrawioUI) {

FILE: drawio-custom-plugins/src/types.d.ts
  type CustomDrawioAction (line 2) | type CustomDrawioAction = UpdateVerticesAction | AddVerticesAction | Get...
  type CustomDrawioEvent (line 4) | type CustomDrawioEvent = NodeSelectedEvent | GetVerticesResultEvent
  type InvokeCommandEvent (line 7) | interface InvokeCommandEvent {
  type FocusChangedEvent (line 12) | interface FocusChangedEvent {
  type NodeSelectionEnabledAction (line 17) | interface NodeSelectionEnabledAction {
  type UpdateVerticesAction (line 22) | interface UpdateVerticesAction {
  type AddVerticesAction (line 27) | interface AddVerticesAction {
  type GetVerticesAction (line 32) | interface GetVerticesAction {
  type LinkSelectedNodeWithDataAction (line 36) | interface LinkSelectedNodeWithDataAction {
  type NodeSelectedEvent (line 41) | interface NodeSelectedEvent {
  type GetVerticesResultEvent (line 47) | interface GetVerticesResultEvent {
  type UpdateLocalStorage (line 53) | interface UpdateLocalStorage {
  type PluginLoaded (line 58) | interface PluginLoaded {
  type CursorChangedEvent (line 65) | interface CursorChangedEvent {
  type SelectionChangedEvent (line 70) | interface SelectionChangedEvent {
  type SelectionRectangleChangedEvent (line 75) | interface SelectionRectangleChangedEvent {
  type Rectangle (line 80) | interface Rectangle {
  type UpdateLiveshareViewState (line 85) | interface UpdateLiveshareViewState {
  type ParticipantCursorInfo (line 92) | interface ParticipantCursorInfo {
  type ParticipantSelectedCellsInfo (line 99) | interface ParticipantSelectedCellsInfo {
  type ParticipantSelectedRectangleInfo (line 105) | interface ParticipantSelectedRectangleInfo {

FILE: drawio-custom-plugins/src/vscode.ts
  function sendEvent (line 1) | function sendEvent(data: CustomDrawioEvent) {

FILE: examples/linking/demo-src/Baz.ts
  class Baz (line 1) | class Baz {
    method BazBar (line 2) | BazBar() {

FILE: examples/linking/demo-src/Foo.ts
  class Foo (line 2) | class Foo extends Baz {
  class Bar (line 6) | class Bar {

FILE: examples/linking/demo-src/test.cc
  function test (line 1) | void test() {}
  function main (line 2) | void main() {}
  class MyClass (line 5) | class MyClass {
    method T (line 6) | T method() {}
  function myFunc (line 10) | void myFunc(T a) { }

FILE: examples/tooltips-plugin.js
  function updateOverlays (line 7) | function updateOverlays(cell) {
  function refresh (line 36) | function refresh() {

FILE: scripts/build-and-publish.ts
  function run (line 11) | async function run(): Promise<void> {
  function buildAndPublish (line 59) | async function buildAndPublish(releaseType: 'stable' | 'preRelease', ver...
  function getPreReleasePatchNumber (line 81) | function getPreReleasePatchNumber(runNumber: number): number {
  function formatDate (line 85) | function formatDate(date: Date): string {
  function padN (line 93) | function padN(num: number, n: number): string {
  type IRepo (line 97) | interface IRepo {
  class GitHubClient (line 102) | class GitHubClient {
    method request (line 105) | private async request(endpoint: string, options: RequestInit = {}) {
    method tagExists (line 120) | async tagExists(repo: IRepo, tag: string): Promise<boolean> {
    method createTag (line 129) | async createTag(repo: IRepo, tag: string, sha: string): Promise<void> {
  function readJsonFile (line 140) | async function readJsonFile<T>(path: string): Promise<T> {
  function writeJsonFile (line 145) | async function writeJsonFile(path: string, data: unknown): Promise<void> {
  function readTextFileSync (line 150) | function readTextFileSync(fileName: string): string {
  function getChangelog (line 154) | function getChangelog(): Changelog {

FILE: scripts/changelog.ts
  class Changelog (line 3) | class Changelog {
    method latestVersion (line 5) | public get latestVersion(): {
    method constructor (line 30) | constructor(private src: string) { }
    method setLatestVersion (line 32) | public setLatestVersion(
    method toString (line 49) | public toString(): string {
  function pad (line 54) | function pad(num: number, size: number): string {

FILE: src/Config.ts
  function setContext (line 25) | async function setContext(
  class Config (line 32) | class Config {
    method feedbackUrl (line 40) | public get feedbackUrl(): Uri | undefined {
    method isInsiders (line 47) | public get isInsiders() {
    method vscodeTheme (line 57) | public get vscodeTheme(): ColorTheme {
    method constructor (line 61) | constructor(private readonly globalState: Memento) {
    method getDiagramConfig (line 75) | public getDiagramConfig(uri: Uri): DiagramConfig {
    method experimentalFeaturesEnabled (line 86) | public get experimentalFeaturesEnabled(): boolean {
    method canAskForFeedback (line 90) | public get canAskForFeedback(): boolean {
    method markAskedToTest (line 107) | public async markAskedToTest(): Promise<void> {
    method isPluginAllowed (line 122) | public isPluginAllowed(
    method addKnownPlugin (line 136) | public async addKnownPlugin(
    method getUsageTimeInSeconds (line 149) | public getUsageTimeInSeconds(): number {
    method getUsageTimeOfThisVersionInSeconds (line 153) | public getUsageTimeOfThisVersionInSeconds(): number {
    method addUsageTime10Seconds (line 157) | public addUsageTime10Seconds(): void {
    method markAskedForSponsorship (line 173) | public markAskedForSponsorship(): void {
    method canAskForSponsorship (line 182) | public get canAskForSponsorship(): boolean {
    method getInternalConfig (line 206) | private getInternalConfig(): InternalConfig {
    method setInternalConfig (line 219) | private async setInternalConfig(config: InternalConfig): Promise<void> {
    method updateInternalConfig (line 223) | private async updateInternalConfig(
  type InternalConfig (line 232) | interface InternalConfig {
  class DiagramConfig (line 241) | class DiagramConfig {
    method styles (line 250) | public get styles(): Style[] {
    method customColorSchemes (line 267) | public get customColorSchemes(): ColorScheme[][] {
    method defaultVertexStyle (line 284) | public get defaultVertexStyle(): Record<string, string> {
    method defaultEdgeStyle (line 301) | public get defaultEdgeStyle(): Record<string, string> {
    method colorNames (line 318) | public get colorNames(): Record<string, string> {
    method simpleLabels (line 335) | public get simpleLabels(): boolean {
    method presetColors (line 352) | public get presetColors(): string[] {
    method resolvedTheme (line 376) | public get resolvedTheme(): ResolvedDrawioTheme {
    method getVsCodeAppearance (line 397) | public getVsCodeAppearance(): string {
    method theme (line 402) | public get theme(): string {
    method appearance (line 411) | public get appearance(): string {
    method setTheme (line 415) | public async setTheme(themeName: string): Promise<void> {
    method setAppearance (line 419) | public async setAppearance(appearance: string): Promise<void> {
    method mode (line 444) | public get mode(): { kind: "offline" } | { kind: "online"; url: string...
    method codeLinkActivated (line 464) | public get codeLinkActivated(): boolean {
    method setCodeLinkActivated (line 468) | public setCodeLinkActivated(value: boolean): Promise<void> {
    method resizeImages (line 486) | public get resizeImages(): boolean | undefined {
    method setResizeImages (line 494) | public setResizeImages(value: boolean | undefined): Promise<void> {
    method localStorage (line 502) | public get localStorage(): Record<string, string> {
    method setLocalStorage (line 521) | public setLocalStorage(value: Record<string, string>): void {
    method plugins (line 546) | public get plugins(): { file: Uri }[] {
    method customLibraries (line 563) | public get customLibraries(): Promise<DrawioLibraryData[]> {
    method evaluateTemplate (line 619) | private evaluateTemplate(template: string, context: string): string {
    method customFonts (line 647) | public get customFonts(): string[] {
    method zoomFactor (line 664) | public get zoomFactor(): number {
    method globalVars (line 681) | public get globalVars(): object | null {
    method constructor (line 687) | constructor(
    method drawioLanguage (line 694) | public get drawioLanguage(): string {
  type DrawioCustomLibrary (line 705) | type DrawioCustomLibrary = (
  class ResolvedDrawioTheme (line 720) | class ResolvedDrawioTheme {
    method getThemeNames (line 721) | public static getThemeNames(): string[] {
    method constructor (line 728) | constructor(
    method getAppearanceDrawioValue (line 733) | getAppearanceDrawioValue(): string {
    method getAppearanceStringValue (line 742) | getAppearanceStringValue(): string {
    method toString (line 746) | toString(): string {
  function themeKindToString (line 754) | function themeKindToString(themeKind: ColorThemeKind): string {
  function themeKindFromString (line 763) | function themeKindFromString(themeKind: string): ColorThemeKind | undefi...

FILE: src/DrawioClient/CustomizedDrawioClient.ts
  class CustomizedDrawioClient (line 8) | class CustomizedDrawioClient extends DrawioClient<
    method linkSelectedNodeWithData (line 51) | public linkSelectedNodeWithData(linkedData: unknown) {
    method getVertices (line 58) | public async getVertices(): Promise<{ id: string; label: string }[]> {
    method setNodeSelectionEnabled (line 69) | public setNodeSelectionEnabled(enabled: boolean): void {
    method updateVertices (line 76) | public updateVertices(verticesToUpdate: { id: string; label: string }[...
    method addVertices (line 83) | public addVertices(vertices: { label: string }[]) {
    method updateLiveshareViewState (line 90) | public updateLiveshareViewState(update: {
    method handleEvent (line 101) | protected async handleEvent(evt: CustomDrawioEvent): Promise<void> {
  type Point (line 129) | interface Point {

FILE: src/DrawioClient/DrawioClient.ts
  class DrawioClient (line 9) | class DrawioClient<
    method constructor (line 35) | constructor(
    method sendCustomAction (line 53) | protected sendCustomAction(action: TCustomAction): void {
    method sendCustomActionExpectResponse (line 57) | protected sendCustomActionExpectResponse(
    method sendAction (line 63) | private sendAction(action: DrawioAction | TCustomAction) {
    method sendActionWaitForResponse (line 73) | private sendActionWaitForResponse(
    method handleEvent (line 93) | protected async handleEvent(evt: { event: string }): Promise<void> {
    method mergeXmlLike (line 158) | public async mergeXmlLike(xmlLike: string): Promise<void> {
    method loadXmlLike (line 180) | public async loadXmlLike(xmlLike: string): Promise<void> {
    method loadPngWithEmbeddedXml (line 191) | public async loadPngWithEmbeddedXml(png: Uint8Array): Promise<void> {
    method export (line 196) | public async export(extension: string): Promise<BufferImpl> {
    method getXmlUncached (line 214) | private async getXmlUncached(): Promise<string> {
    method getXml (line 225) | public async getXml(): Promise<string> {
    method exportAsPngWithEmbeddedXml (line 237) | public async exportAsPngWithEmbeddedXml(): Promise<BufferImpl> {
    method exportAsSvgWithEmbeddedXml (line 253) | public async exportAsSvgWithEmbeddedXml(): Promise<BufferImpl> {
    method triggerOnSave (line 269) | public triggerOnSave(): void {
  type DrawioDocumentChange (line 274) | interface DrawioDocumentChange {
  type MessageStream (line 279) | interface MessageStream {

FILE: src/DrawioClient/DrawioClientFactory.ts
  class DrawioClientFactory (line 18) | class DrawioClientFactory {
    method constructor (line 19) | constructor(
    method createDrawioClientInWebview (line 25) | public async createDrawioClientInWebview(
    method getPlugins (line 124) | private async getPlugins(
    method getHtml (line 203) | private getHtml(
    method getOfflineHtml (line 216) | private getOfflineHtml(
    method getOnlineHtml (line 259) | private getOnlineHtml(config: DiagramConfig, drawioUrl: string): string {
  type DrawioClientOptions (line 297) | interface DrawioClientOptions {
  function prettify (line 301) | function prettify(msg: unknown): string {

FILE: src/DrawioClient/DrawioTypes.ts
  type DrawioEvent (line 1) | type DrawioEvent =
  type DrawioAction (line 29) | type DrawioAction =
  type DrawioConfig (line 55) | interface DrawioConfig {
  type ColorScheme (line 169) | interface ColorScheme {
  type CommonStyle (line 177) | interface CommonStyle {
  type Graph (line 183) | interface Graph {
  type Style (line 188) | interface Style {
  type DrawioLibrarySection (line 193) | interface DrawioLibrarySection {
  type DrawioLibraryData (line 207) | interface DrawioLibraryData {
  function res (line 213) | function res(name: string): DrawioResource {
  type DrawioResource (line 219) | interface DrawioResource {
  type DrawioFormat (line 223) | type DrawioFormat = "html" | "xmlpng" | "png" | "xml" | "xmlsvg";

FILE: src/DrawioClient/simpleDrawioLibrary.ts
  function simpleDrawioLibrary (line 4) | function simpleDrawioLibrary(

FILE: src/DrawioEditorProviderBinary.ts
  class DrawioEditorProviderBinary (line 21) | class DrawioEditorProviderBinary
    method constructor (line 31) | public constructor(
    method saveCustomDocument (line 35) | public saveCustomDocument(
    method saveCustomDocumentAs (line 42) | public saveCustomDocumentAs(
    method revertCustomDocument (line 50) | public revertCustomDocument(
    method backupCustomDocument (line 57) | public async backupCustomDocument(
    method openCustomDocument (line 65) | public async openCustomDocument(
    method resolveCustomEditor (line 83) | public async resolveCustomEditor(
  class DrawioBinaryDocument (line 104) | class DrawioBinaryDocument implements CustomDocument {
    method drawioClient (line 113) | private get drawioClient(): CustomizedDrawioClient {
    method isDirty (line 118) | public get isDirty() {
    method constructor (line 124) | public constructor(
    method setDrawioClient (line 129) | public setDrawioClient(drawioClient: CustomizedDrawioClient): void {
    method loadFromDisk (line 160) | public async loadFromDisk(): Promise<void> {
    method save (line 170) | public save(): Promise<void> {
    method saveAs (line 175) | public async saveAs(target: Uri): Promise<void> {
    method backup (line 180) | public async backup(destination: Uri): Promise<CustomDocumentBackup> {
    method dispose (line 198) | public dispose(): void {

FILE: src/DrawioEditorProviderText.ts
  class DrawioEditorProviderText (line 14) | class DrawioEditorProviderText implements CustomTextEditorProvider {
    method constructor (line 15) | constructor(private readonly drawioEditorService: DrawioEditorService) {}
    method resolveCustomTextEditor (line 17) | public async resolveCustomTextEditor(

FILE: src/DrawioEditorService.ts
  class DrawioEditorService (line 25) | class DrawioEditorService {
    method activeDrawioEditor (line 36) | get activeDrawioEditor(): DrawioEditor | undefined {
    method lastActiveDrawioEditor (line 41) | get lastActiveDrawioEditor(): DrawioEditor | undefined {
    method constructor (line 49) | constructor(
    method createDrawioEditorInWebview (line 124) | public async createDrawioEditorInWebview(
  class DrawioEditor (line 164) | class DrawioEditor {
    method fileExtension (line 179) | public get fileExtension(): string {
    method constructor (line 193) | constructor(
    method isActive (line 226) | public get isActive(): boolean {
    method hasFocus (line 230) | public get hasFocus(): boolean {
    method uri (line 234) | public get uri(): Uri {
    method getUriWithExtension (line 243) | public getUriWithExtension(newExtension: string): Uri {
    method convertTo (line 249) | public async convertTo(targetExtension: string): Promise<void> {
    method exportTo (line 277) | public async exportTo(targetExtension: string): Promise<void> {
    method handleConvertCommand (line 289) | public async handleConvertCommand(): Promise<void> {
    method handleExportCommand (line 314) | public async handleExportCommand(): Promise<void> {
    method handleChangeThemeCommand (line 336) | public async handleChangeThemeCommand(): Promise<void> {
  function withFirstUnique (line 380) | function withFirstUnique<T>(items: T[], firstItem: T): T[] {
  function fileExists (line 385) | async function fileExists(uri: Uri): Promise<boolean> {
  function removeEnd (line 394) | function removeEnd(value: string, end: string): string {

FILE: src/DrawioExtensionApi.ts
  function getDrawioExtensions (line 3) | function getDrawioExtensions(): DrawioExtension[] {
  class DrawioExtension (line 13) | class DrawioExtension {
    method constructor (line 14) | constructor(private readonly api: Extension<DrawioExtensionApi>) {}
    method getDrawioPlugins (line 16) | public async getDrawioPlugins(
  type DrawioExtensionJsonManifest (line 35) | interface DrawioExtensionJsonManifest {
  type DrawioExtensionApi (line 42) | interface DrawioExtensionApi {
  type DocumentContext (line 50) | interface DocumentContext {

FILE: src/Extension.ts
  class Extension (line 13) | class Extension {
    method constructor (line 39) | constructor(private readonly context: vscode.ExtensionContext) {

FILE: src/features/CodeLinkFeature.ts
  class LinkCodeWithSelectedNodeService (line 67) | class LinkCodeWithSelectedNodeService {
    method constructor (line 75) | constructor(
    method toggleCodeLinkEnabled (line 133) | private async toggleCodeLinkEnabled() {
    method linkCodeWithSelectedNode (line 144) | private linkCodeWithSelectedNode(): void {
    method linkFileWithSelectedNode (line 174) | private linkFileWithSelectedNode(file: Uri): void {
    method linkWsSymbolWithSelectedNode (line 189) | private async linkWsSymbolWithSelectedNode() {
    method linkSymbolWithSelectedNode (line 194) | private async linkSymbolWithSelectedNode(
    method handleDrawioEditor (line 273) | private handleDrawioEditor(editor: DrawioEditor): void {
    method revealSelection (line 323) | private async revealSelection(
  class CodePosition (line 360) | class CodePosition {
    method deserialize (line 364) | public static async deserialize(
    method constructor (line 409) | constructor(
    method serialize (line 420) | public serialize(relativeTo: Uri): Data {
  class DeserializedCodePosition (line 456) | class DeserializedCodePosition {
    method constructor (line 457) | constructor(public readonly uri: Uri, public readonly range?: Range) {}
    method serialize (line 458) | public serialize(relativeTo: Uri): Data {
  type Data (line 463) | type Data = {
  type PositionData (line 476) | interface PositionData {
  function getSorterBy (line 481) | function getSorterBy<T>(selector: (item: T) => number) {
  function resolveSymbol (line 487) | async function resolveSymbol(
  function resolveTopSymbol (line 506) | async function resolveTopSymbol(
  function resolveWorkspaceSymbol (line 521) | async function resolveWorkspaceSymbol(

FILE: src/features/EditDiagramAsTextFeature.ts
  class EditDiagramAsTextFeature (line 8) | class EditDiagramAsTextFeature {
    method constructor (line 16) | constructor(
  class DiagramAsTextDocument (line 102) | class DiagramAsTextDocument {
    method parse (line 103) | public static parse(src: string): DiagramAsTextDocument {
    method constructor (line 124) | constructor(
    method toString (line 132) | public toString(): string {
    method removeDuplicates (line 139) | public removeDuplicates(): void {

FILE: src/features/LiveshareFeature/CurrentViewState.ts
  class CurrentViewState (line 9) | class CurrentViewState {
    method _state (line 10) | private get _state():
    method state (line 37) | get state(): ViewState {
    method constructor (line 51) | constructor(
  function getSelectedRectangleResource (line 57) | function getSelectedRectangleResource(
  function getCursorPositionResource (line 91) | function getCursorPositionResource(
  function getSelectedCellsResource (line 123) | function getSelectedCellsResource(

FILE: src/features/LiveshareFeature/LiveshareFeature.ts
  class LiveshareFeature (line 9) | class LiveshareFeature {
    method constructor (line 12) | constructor(
    method init (line 19) | private async init() {
  class LiveshareFeatureInitialized (line 31) | class LiveshareFeatureInitialized {
    method constructor (line 43) | constructor(
  function normalizeSession (line 59) | function normalizeSession(session: vsls.Session): vsls.Session | undefin...

FILE: src/features/LiveshareFeature/LiveshareSession.ts
  class LiveshareSession (line 14) | class LiveshareSession {
    method constructor (line 19) | constructor(
    method getPeerIdInformation (line 39) | private getPeerIdInformation(peerId: number): {
    method updateLiveshareOverlaysInDrawio (line 66) | private updateLiveshareOverlaysInDrawio(editor: DrawioEditor) {
    method init (line 109) | private async init() {
  type ServerAction (line 207) | type ServerAction = { action: "applyUpdate"; update: SessionModelUpdate };
  type ServerEvent (line 208) | type ServerEvent = { event: "applyUpdate"; update: SessionModelUpdate };

FILE: src/features/LiveshareFeature/SessionModel.ts
  type Point (line 3) | interface Point {
  type NormalizedUri (line 8) | type NormalizedUri = { __brand: "normalizedUri" };
  type ViewState (line 10) | type ViewState =
  class SessionModel (line 19) | class SessionModel {
    method apply (line 26) | public apply(update: SessionModelUpdate): void {
  type SessionModelUpdate (line 43) | type SessionModelUpdate =

FILE: src/index.ts
  function activate (line 10) | function activate(context: vscode.ExtensionContext) {
  function deactivate (line 14) | function deactivate() {}

FILE: src/utils/SimpleTemplate.ts
  class SimpleTemplate (line 1) | class SimpleTemplate {
    method constructor (line 2) | constructor(private readonly str: string) {}
    method render (line 4) | render(data: Record<string, () => string>): string {

FILE: src/utils/autorunTrackDisposables.ts
  function autorunTrackDisposables (line 4) | function autorunTrackDisposables(

FILE: src/utils/buffer.ts
  type BufferImpl (line 3) | type BufferImpl = Buffer;

FILE: src/utils/formatValue.ts
  function formatValue (line 2) | function formatValue(value: unknown, availableLen: number): string {
  function formatObject (line 34) | function formatObject(value: object, availableLen: number): string {
  function formatArray (line 52) | function formatArray(value: any[], availableLen: number): string {

FILE: src/utils/fromResource.ts
  function invariant (line 4) | function invariant(condition: boolean, message?: string) {}
  function fromResource (line 13) | function fromResource<T>(
  type IResource (line 77) | interface IResource<T> {

FILE: src/utils/groupBy.ts
  type Group (line 1) | interface Group<TKey, TItem> {
  function groupBy (line 6) | function groupBy<TKey, T>(

FILE: src/utils/mapObject.ts
  function mapObject (line 1) | function mapObject<TObj extends Record<string, any>, TResult>(

FILE: src/utils/path.ts
  function getPath (line 3) | function getPath(): path2.PlatformPath {

FILE: src/utils/registerFailableCommand.ts
  function registerFailableCommand (line 3) | function registerFailableCommand(

FILE: src/vscode-utils/VirtualFileSystemProvider.ts
  class DrawioFileSystemController (line 15) | class DrawioFileSystemController {
    method constructor (line 21) | constructor() {
    method getOrCreateFileForUri (line 30) | public getOrCreateFileForUri(uri: Uri): {
  class VirtualFileSystemProvider (line 44) | class VirtualFileSystemProvider implements FileSystemProvider {
    method getOrCreateFile (line 50) | public getOrCreateFile(uri: Uri): { file: File; didFileExist: boolean } {
    method readFile (line 68) | readFile(uri: Uri): Uint8Array | Thenable<Uint8Array> {
    method writeFile (line 72) | writeFile(
    method stat (line 80) | stat(uri: Uri): FileStat {
    method watch (line 90) | watch(
    method readDirectory (line 97) | readDirectory(
    method createDirectory (line 105) | createDirectory(uri: Uri): void | Thenable<void> {
    method delete (line 109) | delete(uri: Uri, options: { recursive: boolean }): void | Thenable<voi...
    method rename (line 113) | rename(
  class File (line 122) | class File {
    method constructor (line 126) | constructor(public readonly uri: Uri, public data: Uint8Array) {}
    method write (line 128) | public write(data: Uint8Array): void {
    method writeString (line 133) | public writeString(str: string): void {
    method readString (line 137) | public readString(): string {

FILE: src/vscode-utils/VsCodeSetting.ts
  type Serializer (line 6) | interface Serializer<T> {
  function serializerWithDefault (line 11) | function serializerWithDefault<T>(defaultValue: T): Serializer<T> {
  class VsCodeSetting (line 18) | class VsCodeSetting<T> {
    method T (line 19) | public get T(): T {
    method constructor (line 28) | public constructor(
    method get (line 50) | public get(): T {
    method set (line 55) | public async set(value: T): Promise<void> {
  class VsCodeSettingResource (line 88) | class VsCodeSettingResource {
    method constructor (line 100) | constructor(
    method readValue (line 106) | private readValue(): any {
    method value (line 137) | public get value() {
Condensed preview — 88 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (1,278K chars).
[
  {
    "path": ".gitattributes",
    "chars": 19,
    "preview": "* text=auto eol=lf\n"
  },
  {
    "path": ".github/workflows/deploy.yml",
    "chars": 743,
    "preview": "name: Deploy\non:\n  push:\n    branches:\n      - main\n\njobs:\n  build:\n    runs-on: ubuntu-latest\n    steps:\n      - name: "
  },
  {
    "path": ".github/workflows/opened-issues-triage.yml",
    "chars": 316,
    "preview": "name: Move new issues into Triage\n\non:\n  issues:\n    types: [opened]\n\njobs:\n  automate-project-columns:\n    runs-on: ubu"
  },
  {
    "path": ".github/workflows/test.yml",
    "chars": 515,
    "preview": "name: Lint & Build\non:\n  push:\n    branches:\n      - main\n  pull_request:\n\njobs:\n  build:\n    strategy:\n      matrix:\n  "
  },
  {
    "path": ".gitignore",
    "chars": 43,
    "preview": "out\ndist\nnode_modules\n.vscode-test/\n*.vsix\n"
  },
  {
    "path": ".gitmodules",
    "chars": 76,
    "preview": "[submodule \"drawio\"]\n\tpath = drawio\n\turl = https://github.com/jgraph/drawio\n"
  },
  {
    "path": ".prettierignore",
    "chars": 7,
    "preview": "*.d.ts\n"
  },
  {
    "path": ".prettierrc.json",
    "chars": 167,
    "preview": "{\n\t\"trailingComma\": \"es5\",\n\t\"tabWidth\": 4,\n\t\"semi\": true,\n\t\"useTabs\": true,\n\t\"overrides\": [\n\t\t{\n\t\t\t\"files\": [\"*.yml\"],\n\t"
  },
  {
    "path": ".vscode/launch.json",
    "chars": 972,
    "preview": "{\n\t\"version\": \"0.2.0\",\n\t\"configurations\": [\n\t\t{\n\t\t\t\"name\": \"Launch Drawio To Debug Plugins\",\n\t\t\t\"request\": \"launch\",\n\t\t\t"
  },
  {
    "path": ".vscode/settings.json",
    "chars": 308,
    "preview": "{\n\t\"files.exclude\": {\n\t\t\"out\": false\n\t},\n\t\"search.exclude\": {\n\t\t\"out\": true\n\t},\n\t\"editor.formatOnSave\": true,\n\t\"typescri"
  },
  {
    "path": ".vscode/tasks.json",
    "chars": 859,
    "preview": "// See https://go.microsoft.com/fwlink/?LinkId=733558\n// for the documentation about the tasks.json format\n{\n\t\"version\":"
  },
  {
    "path": "CHANGELOG.md",
    "chars": 9604,
    "preview": "# Change Log\n\nAll notable changes to this project will be documented in this file.\n\nThe format is based on [Keep a Chang"
  },
  {
    "path": "LICENSE.md",
    "chars": 34887,
    "preview": "                    GNU GENERAL PUBLIC LICENSE\n                       Version 3, 29 June 2007\n\nCopyright (C) 2007 Free S"
  },
  {
    "path": "NOTES.md",
    "chars": 187,
    "preview": "\nUse `returnbounds` to get xml right after load:\n```js\n// Sends the bounds of the graph to the host after parsing\nif (ur"
  },
  {
    "path": "README.md",
    "chars": 6044,
    "preview": "# Draw.io VS Code Integration\n\n[![](https://img.shields.io/twitter/follow/hediet_dev.svg?style=social)](https://twitter."
  },
  {
    "path": "docs/code-link.md",
    "chars": 2310,
    "preview": "# VS Code Draw.io Integration - Code Links (Since 0.7.2)\n\nThe Code Link feature lets you link Draw.io nodes and edges to"
  },
  {
    "path": "docs/plugins.md",
    "chars": 2379,
    "preview": "# VS Code Draw.io Integration - plugins\n\nThe plugins feature lets you load Draw.io plugins, just as you can by opening\nt"
  },
  {
    "path": "drawio-custom-plugins/src/drawio-types.d.ts",
    "chars": 2495,
    "preview": "declare const Draw: {\n    loadPlugin(handler: (ui: DrawioUI) => void): void;\n};\n\ndeclare const log: any;\ndeclare class m"
  },
  {
    "path": "drawio-custom-plugins/src/focus.ts",
    "chars": 490,
    "preview": "import { sendEvent } from \"./vscode\";\n\nDraw.loadPlugin((ui) => {\n\tsendEvent({ event: \"pluginLoaded\", pluginId: \"focus\" }"
  },
  {
    "path": "drawio-custom-plugins/src/index.ts",
    "chars": 169,
    "preview": "import \"./linkSelectedNodeWithData\";\nimport \"./liveshare\";\nimport \"./focus\";\nimport \"./menu-entries\";\n\nDraw.loadPlugin(("
  },
  {
    "path": "drawio-custom-plugins/src/linkSelectedNodeWithData.ts",
    "chars": 4846,
    "preview": "import {\n\tConservativeFlattenedEntryParser,\n\tFlattenToDictionary,\n\tJSONValue,\n} from \"@hediet/json-to-dictionary\";\nimpor"
  },
  {
    "path": "drawio-custom-plugins/src/liveshare.ts",
    "chars": 7779,
    "preview": "import { sendEvent } from \"./vscode\";\nimport * as m from \"mithril\";\n\nDraw.loadPlugin((ui) => {\n\tsetTimeout(() => {\n\t\tsen"
  },
  {
    "path": "drawio-custom-plugins/src/menu-entries.ts",
    "chars": 1450,
    "preview": "import { showDialog } from \"./propertiesDialog\";\nimport { sendEvent } from \"./vscode\";\n\nDraw.loadPlugin((ui) => {\n\tsendE"
  },
  {
    "path": "drawio-custom-plugins/src/propertiesDialog.ts",
    "chars": 4709,
    "preview": "import \"./styles.css\";\nimport * as m from \"mithril\";\n\nexport function showDialog(ui: DrawioUI) {\n\tconst node = ui.fileNo"
  },
  {
    "path": "drawio-custom-plugins/src/styles.css",
    "chars": 23,
    "preview": "li {\n\tpadding: 3px 0;\n}"
  },
  {
    "path": "drawio-custom-plugins/src/types.d.ts",
    "chars": 2723,
    "preview": "\ndeclare type CustomDrawioAction = UpdateVerticesAction | AddVerticesAction | GetVerticesAction\n    | LinkSelectedNodeWi"
  },
  {
    "path": "drawio-custom-plugins/src/vscode.ts",
    "chars": 182,
    "preview": "export function sendEvent(data: CustomDrawioEvent) {\n\tif (window.opener) {\n\t\twindow.opener.postMessage(JSON.stringify(da"
  },
  {
    "path": "drawio-custom-plugins/tsconfig.json",
    "chars": 238,
    "preview": "{\n\t\"compilerOptions\": {\n\t\t\"module\": \"commonjs\",\n\t\t\"target\": \"es6\",\n\t\t\"outDir\": \"out\",\n\t\t\"lib\": [\"es6\", \"DOM\"],\n\t\t\"source"
  },
  {
    "path": "drawio-custom-plugins/webpack.config.ts",
    "chars": 898,
    "preview": "import * as webpack from \"webpack\";\nimport path = require(\"path\");\nimport { CleanWebpackPlugin } from \"clean-webpack-plu"
  },
  {
    "path": "examples/.vscode/settings.json",
    "chars": 2350,
    "preview": "{\n\t\"hediet.vscode-drawio.enableExperimentalFeatures\": true,\n\t\"hediet.vscode-drawio.offline\": true,\n\t\"hediet.vscode-drawi"
  },
  {
    "path": "examples/formats/README.md",
    "chars": 131,
    "preview": "Draw.io diagrams can be embedded in markdown files!\n\nSVG Diagram:\n\n![](./Example.dio.svg)\n\nPNG Diagram:\n\n![](./Example.d"
  },
  {
    "path": "examples/linking/demo-src/Baz.ts",
    "chars": 43,
    "preview": "class Baz {\n    BazBar() {\n        \n    }\n}"
  },
  {
    "path": "examples/linking/demo-src/Foo.ts",
    "chars": 60,
    "preview": "\nclass Foo extends Baz {\n    test: string;\n}\n\nclass Bar {\n\n}"
  },
  {
    "path": "examples/linking/demo-src/test.cc",
    "chars": 133,
    "preview": "void test() {}\nvoid main() {}\n\ntemplate<typename T>\nclass MyClass {\n    T method() {}\n};\n\ntemplate<typename T>\nvoid myFu"
  },
  {
    "path": "examples/linking/demo-src/tsconfig.json",
    "chars": 41,
    "preview": "{\n    \"include\": [\n        \"**/*\"\n    ]\n}"
  },
  {
    "path": "examples/linking/main.dio",
    "chars": 6678,
    "preview": "<mxfile host=\"65bd71144e\" scale=\"1\" border=\"0\">\n    <diagram id=\"MgYzXS6eyhghL7g_6re2\" name=\"Page-1\">\n        <mxGraphMo"
  },
  {
    "path": "examples/temp/Example.drawio",
    "chars": 1438,
    "preview": "<mxfile host=\"65bd71144e\" scale=\"1\" border=\"0\">\n    <diagram id=\"6hGFLwfOUW9BJ-s0fimq\" name=\"Page-1\">\n        <mxGraphMo"
  },
  {
    "path": "examples/temp/Large.drawio",
    "chars": 178247,
    "preview": "<mxfile host=\"localhost\" modified=\"2020-05-11T18:35:49.905Z\" agent=\"5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"
  },
  {
    "path": "examples/temp/TestLibrary.xml",
    "chars": 3160,
    "preview": "<mxlibrary>[{\"xml\":\"jZFNbsMgEIVPw54YKfvGqdNNN+kJUDw2qGOPhSf+uX3HgJtmEalISMP35iHmoUzZLZdgB/dJNaAy78qUgYhT1S0lIKpC+1qZsyoK"
  },
  {
    "path": "examples/tooltips-plugin.js",
    "chars": 4064,
    "preview": "/**\n * Sample plugin.\n */\nDraw.loadPlugin(function (ui) {\n\tvar graph = ui.editor.graph;\n\n\tfunction updateOverlays(cell) "
  },
  {
    "path": "examples/use-cases/class-diagrams.dio",
    "chars": 11125,
    "preview": "<mxfile host=\"65bd71144e\" modified=\"2020-10-06T15:48:58.842Z\" agent=\"5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.3"
  },
  {
    "path": "examples/use-cases/cloud-architecture.drawio",
    "chars": 19200,
    "preview": "<mxfile host=\"7026dea2-11b6-4eee-8a14-a15b8c7623b9\" modified=\"2020-10-02T14:30:39.312Z\" agent=\"5.0 (Windows NT 10.0; Win"
  },
  {
    "path": "examples/use-cases/packages.dio",
    "chars": 4943,
    "preview": "<mxfile host=\"65bd71144e\" modified=\"2020-10-06T15:43:14.948Z\" agent=\"5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.3"
  },
  {
    "path": "examples/use-cases/screenshots.dio",
    "chars": 737319,
    "preview": "<mxfile host=\"65bd71144e\" modified=\"2020-10-06T16:04:21.467Z\" agent=\"5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.3"
  },
  {
    "path": "examples/use-cases/wireframes.dio",
    "chars": 12599,
    "preview": "<mxfile host=\"65bd71144e\" modified=\"2020-10-06T15:47:00.681Z\" agent=\"5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.3"
  },
  {
    "path": "package.json",
    "chars": 15843,
    "preview": "{\n\t\"name\": \"vscode-drawio\",\n\t\"private\": true,\n\t\"displayName\": \"Draw.io Integration\",\n\t\"description\": \"This unofficial ex"
  },
  {
    "path": "scripts/build-and-publish.ts",
    "chars": 4729,
    "preview": "import { readFile, writeFile } from \"fs/promises\";\nimport { join, resolve } from \"path\";\nimport { SemanticVersion } from"
  },
  {
    "path": "scripts/changelog.ts",
    "chars": 1627,
    "preview": "import { SemanticVersion } from \"@hediet/semver\";\n\nexport class Changelog {\n    private readonly regex = /## \\[(.*?)\\](["
  },
  {
    "path": "scripts/run-script.js",
    "chars": 196,
    "preview": "require(\"ts-node\").register({ transpileOnly: true });\nconst argv = process.argv.slice(2);\nrequire(`./${argv[0]}`)\n\t.run("
  },
  {
    "path": "scripts/tsconfig.json",
    "chars": 168,
    "preview": "{\n\t\"compilerOptions\": {\n\t\t\"target\": \"esnext\",\n\t\t\"module\": \"commonjs\",\n\t\t\"strict\": true,\n\t\t\"noEmit\": true,\n\t\t\"experimenta"
  },
  {
    "path": "src/Config.ts",
    "chars": 18085,
    "preview": "import { autorun, computed, observable } from \"mobx\";\nimport {\n\tColorTheme,\n\tColorThemeKind,\n\tcommands,\n\tConfigurationTa"
  },
  {
    "path": "src/DrawioClient/CustomizedDrawioClient.ts",
    "chars": 3841,
    "preview": "import { EventEmitter } from \"@hediet/std/events\";\nimport { DrawioClient } from \"./DrawioClient\";\n\n/**\n * Enhances the d"
  },
  {
    "path": "src/DrawioClient/DrawioClient.ts",
    "chars": 7819,
    "preview": "import { EventEmitter } from \"@hediet/std/events\";\nimport { Disposable } from \"@hediet/std/disposable\";\nimport { DrawioC"
  },
  {
    "path": "src/DrawioClient/DrawioClientFactory.ts",
    "chars": 8372,
    "preview": "import {\n\tWebview,\n\tOutputChannel,\n\tUri,\n\twindow,\n\tWebviewPanel,\n\tworkspace,\n} from \"vscode\";\nimport { CustomizedDrawioC"
  },
  {
    "path": "src/DrawioClient/DrawioTypes.ts",
    "chars": 5534,
    "preview": "export type DrawioEvent =\n\t| {\n\t\t\tevent: \"merge\";\n\t\t\terror: string;\n\t\t\tmessage: DrawioEvent;\n\t  }\n\t| {\n\t\t\tevent: \"init\";"
  },
  {
    "path": "src/DrawioClient/html.d.ts",
    "chars": 79,
    "preview": "declare module \"*.html\" {\n  const content: string;\n  export default content;\n}\n"
  },
  {
    "path": "src/DrawioClient/index.ts",
    "chars": 183,
    "preview": "export * from \"./DrawioClient\";\nexport * from \"./CustomizedDrawioClient\";\nexport * from \"./DrawioTypes\";\nexport * from \""
  },
  {
    "path": "src/DrawioClient/simpleDrawioLibrary.ts",
    "chars": 697,
    "preview": "import { groupBy } from \"../utils/groupBy\";\nimport { DrawioLibraryData, DrawioLibrarySection, res } from \"./DrawioTypes\""
  },
  {
    "path": "src/DrawioClient/webview-content.html",
    "chars": 14416,
    "preview": "<!DOCTYPE html>\n<html>\n\t<head>\n\t\t<base href=\"$$literal-vsuri$$/index.html\" />\n\t\t<script type=\"text/javascript\">\n\t\t\tvar l"
  },
  {
    "path": "src/DrawioEditorProviderBinary.ts",
    "chars": 5060,
    "preview": "import {\n\tCustomEditorProvider,\n\tEventEmitter,\n\tCustomDocument,\n\tCancellationToken,\n\tUri,\n\tCustomDocumentBackupContext,\n"
  },
  {
    "path": "src/DrawioEditorProviderText.ts",
    "chars": 4004,
    "preview": "import {\n\tCancellationToken,\n\tCustomTextEditorProvider,\n\tRange,\n\tTextDocument,\n\tWebviewPanel,\n\twindow,\n\tworkspace,\n\tWork"
  },
  {
    "path": "src/DrawioEditorService.ts",
    "chars": 10143,
    "preview": "import { Disposable } from \"@hediet/std/disposable\";\nimport { EventEmitter } from \"@hediet/std/events\";\nimport { autorun"
  },
  {
    "path": "src/DrawioExtensionApi.ts",
    "chars": 1275,
    "preview": "import { Extension, extensions, Uri } from \"vscode\";\n\nexport function getDrawioExtensions(): DrawioExtension[] {\n\treturn"
  },
  {
    "path": "src/Extension.ts",
    "chars": 2881,
    "preview": "import * as vscode from \"vscode\";\nimport { Disposable } from \"@hediet/std/disposable\";\nimport { DrawioEditorProviderBina"
  },
  {
    "path": "src/features/CodeLinkFeature.ts",
    "chars": 15215,
    "preview": "import { Disposable } from \"@hediet/std/disposable\";\nimport {\n\tcommands,\n\twindow,\n\tUri,\n\tRange,\n\tPosition,\n\tThemeColor,\n"
  },
  {
    "path": "src/features/EditDiagramAsTextFeature.ts",
    "chars": 3713,
    "preview": "import { Disposable } from \"@hediet/std/disposable\";\nimport { Config } from \"../Config\";\nimport { workspace, commands, w"
  },
  {
    "path": "src/features/LiveshareFeature/CurrentViewState.ts",
    "chars": 3494,
    "preview": "import { Disposable, Disposer } from \"@hediet/std/disposable\";\nimport { computed } from \"mobx\";\nimport { Uri } from \"vsc"
  },
  {
    "path": "src/features/LiveshareFeature/LiveshareFeature.ts",
    "chars": 1640,
    "preview": "import { Disposable } from \"@hediet/std/disposable\";\nimport * as vsls from \"vsls\";\nimport { Config } from \"../../Config\""
  },
  {
    "path": "src/features/LiveshareFeature/LiveshareSession.ts",
    "chars": 5263,
    "preview": "import { Disposable } from \"@hediet/std/disposable\";\nimport { EventEmitter, EventSource } from \"@hediet/std/events\";\nimp"
  },
  {
    "path": "src/features/LiveshareFeature/SessionModel.ts",
    "chars": 1148,
    "preview": "import { action, ObservableMap } from \"mobx\";\n\nexport interface Point {\n\tx: number;\n\ty: number;\n}\n// is a string\nexport "
  },
  {
    "path": "src/features/LiveshareFeature/assets/package.json",
    "chars": 130,
    "preview": "{\n\t\"name\": \"vscode-drawio\",\n\t\"publisher\": \"hediet\",\n\t\"description\": \"This file bypasses vsliveshares check\",\n\t\"private\":"
  },
  {
    "path": "src/features/LiveshareFeature/index.ts",
    "chars": 36,
    "preview": "export * from \"./LiveshareFeature\";\n"
  },
  {
    "path": "src/index.ts",
    "chars": 378,
    "preview": "import * as vscode from \"vscode\";\nimport { MobxConsoleLogger } from \"@knuddels/mobx-logger\";\nimport * as mobx from \"mobx"
  },
  {
    "path": "src/types.d.ts",
    "chars": 24,
    "preview": "declare module \"*.json\";"
  },
  {
    "path": "src/utils/SimpleTemplate.ts",
    "chars": 237,
    "preview": "export class SimpleTemplate {\n\tconstructor(private readonly str: string) {}\n\n\trender(data: Record<string, () => string>)"
  },
  {
    "path": "src/utils/autorunTrackDisposables.ts",
    "chars": 399,
    "preview": "import { Disposable, TrackFunction } from \"@hediet/std/disposable\";\nimport { autorun } from \"mobx\";\n\nexport function aut"
  },
  {
    "path": "src/utils/buffer.ts",
    "chars": 146,
    "preview": "import { Buffer as Buf } from \"buffer\";\n\nexport type BufferImpl = Buffer;\nexport const BufferImpl = typeof Buffer === \"u"
  },
  {
    "path": "src/utils/formatValue.ts",
    "chars": 1589,
    "preview": "// TODO make generic and improve. Copied from my mobx logger.\nexport function formatValue(value: unknown, availableLen: "
  },
  {
    "path": "src/utils/fromResource.ts",
    "chars": 1975,
    "preview": "import { DisposableLike, dispose } from \"@hediet/std/disposable\";\nimport { createAtom, _allowStateChanges } from \"mobx\";"
  },
  {
    "path": "src/utils/groupBy.ts",
    "chars": 437,
    "preview": "interface Group<TKey, TItem> {\n\tkey: TKey;\n\titems: TItem[];\n}\n\nexport function groupBy<TKey, T>(\n\titems: ReadonlyArray<T"
  },
  {
    "path": "src/utils/mapObject.ts",
    "chars": 354,
    "preview": "export function mapObject<TObj extends Record<string, any>, TResult>(\n\tobj: TObj,\n\tmap: (item: TObj[keyof TObj], key: st"
  },
  {
    "path": "src/utils/path.ts",
    "chars": 253,
    "preview": "import * as path2 from \"path\";\n\nfunction getPath(): path2.PlatformPath {\n\ttry {\n\t\tconst rq = eval(\"req\" + \"uire\");\n\t\tcon"
  },
  {
    "path": "src/utils/registerFailableCommand.ts",
    "chars": 403,
    "preview": "import { commands, window, Disposable } from \"vscode\";\n\nexport function registerFailableCommand(\n\tcommandName: string,\n\t"
  },
  {
    "path": "src/vscode-utils/VirtualFileSystemProvider.ts",
    "chars": 3303,
    "preview": "import {\n\tFileSystemProvider,\n\tEvent,\n\tUri,\n\tFileStat,\n\tFileType,\n\tFileChangeEvent,\n\tEventEmitter,\n\tworkspace,\n\tFileChan"
  },
  {
    "path": "src/vscode-utils/VsCodeSetting.ts",
    "chars": 3632,
    "preview": "import { Uri, workspace, ConfigurationTarget, Disposable } from \"vscode\";\nimport { fromResource } from \"../utils/fromRes"
  },
  {
    "path": "tsconfig.json",
    "chars": 271,
    "preview": "{\n\t\"compilerOptions\": {\n\t\t\"module\": \"commonjs\",\n\t\t\"target\": \"es6\",\n\t\t\"outDir\": \"out\",\n\t\t\"lib\": [\"es6\"],\n\t\t\"sourceMap\": t"
  },
  {
    "path": "tslint.json",
    "chars": 238,
    "preview": "{\n\t\"rules\": {\n\t\t\"no-string-throw\": true,\n\t\t\"no-unused-expression\": true,\n\t\t\"no-duplicate-variable\": true,\n\t\t\"curly\": tru"
  },
  {
    "path": "webpack.config.ts",
    "chars": 1262,
    "preview": "import * as webpack from \"webpack\";\nimport path = require(\"path\");\nimport { CleanWebpackPlugin } from \"clean-webpack-plu"
  }
]

About this extraction

This page contains the full source code of the hediet/vscode-drawio GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 88 files (1.2 MB), approximately 632.6k tokens, and a symbol index with 349 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.

Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.

Copied to clipboard!