= {
+ playground,
+ shader,
+ infrastructureSchema,
+ editableTitles,
+ menu,
+ images,
+ customPortPosition,
+ resizeNodes,
+ layouts,
+ thumbnail,
+ gridSnap,
+ customNodes,
+ dropToCreateNodes,
+ editModes,
+ serializationDeserialization,
};
diff --git a/doc/examples/infrastructureSchema/index.ts b/doc/examples/infrastructureSchema/index.ts
index a9658e6..982a53e 100644
--- a/doc/examples/infrastructureSchema/index.ts
+++ b/doc/examples/infrastructureSchema/index.ts
@@ -1 +1,8 @@
-export { default as InfrastructureSchemaApp } from './App.vue?raw'
+import InfrastructureSchemaApp from './App.vue?raw'
+
+export default {
+ section: 'Demo',
+ files: {
+ 'App.vue': InfrastructureSchemaApp,
+ }
+};
diff --git a/doc/examples/layouts/App.vue b/doc/examples/layouts/App.vue
new file mode 100644
index 0000000..7e419d4
--- /dev/null
+++ b/doc/examples/layouts/App.vue
@@ -0,0 +1,244 @@
+
+
+
+ Drop this node
+
+
+
+
+
+
diff --git a/doc/examples/layouts/index.ts b/doc/examples/layouts/index.ts
new file mode 100644
index 0000000..8a128c6
--- /dev/null
+++ b/doc/examples/layouts/index.ts
@@ -0,0 +1,8 @@
+import App from './App.vue?raw'
+
+export default {
+ section: 'Advanced usage',
+ files: {
+ 'App.vue': App,
+ }
+};
diff --git a/doc/examples/menu/App.vue b/doc/examples/menu/App.vue
index f7519d1..9535a84 100644
--- a/doc/examples/menu/App.vue
+++ b/doc/examples/menu/App.vue
@@ -7,6 +7,7 @@
diff --git a/doc/examples/playground/index.ts b/doc/examples/playground/index.ts
index 3cee550..d095683 100644
--- a/doc/examples/playground/index.ts
+++ b/doc/examples/playground/index.ts
@@ -1 +1,8 @@
-export { default as PlaygroundApp } from './App.vue?raw'
+import PlaygroundApp from './App.vue?raw'
+
+export default {
+ section: 'Demo',
+ files: {
+ 'App.vue': PlaygroundApp,
+ },
+};
diff --git a/doc/examples/resize/App.vue b/doc/examples/resize/App.vue
new file mode 100644
index 0000000..9098b53
--- /dev/null
+++ b/doc/examples/resize/App.vue
@@ -0,0 +1,39 @@
+
+
+
+
+
diff --git a/doc/examples/resize/index.ts b/doc/examples/resize/index.ts
new file mode 100644
index 0000000..6fb9c83
--- /dev/null
+++ b/doc/examples/resize/index.ts
@@ -0,0 +1,7 @@
+import App from './App.vue?raw'
+export default {
+ section: 'Simple usage',
+ files: {
+ 'App.vue': App,
+ }
+};
diff --git a/doc/examples/serializationDeserialization/App.vue b/doc/examples/serializationDeserialization/App.vue
new file mode 100644
index 0000000..7deff63
--- /dev/null
+++ b/doc/examples/serializationDeserialization/App.vue
@@ -0,0 +1,38 @@
+
+
+
+
+
+
diff --git a/doc/examples/serializationDeserialization/index.ts b/doc/examples/serializationDeserialization/index.ts
new file mode 100644
index 0000000..8a128c6
--- /dev/null
+++ b/doc/examples/serializationDeserialization/index.ts
@@ -0,0 +1,8 @@
+import App from './App.vue?raw'
+
+export default {
+ section: 'Advanced usage',
+ files: {
+ 'App.vue': App,
+ }
+};
diff --git a/doc/examples/shader/index.ts b/doc/examples/shader/index.ts
index 24ef1a5..0e3f00a 100644
--- a/doc/examples/shader/index.ts
+++ b/doc/examples/shader/index.ts
@@ -1 +1,8 @@
-export { default as ShaderApp } from './App.vue?raw'
+import ShaderApp from './App.vue?raw'
+
+export default {
+ section: 'Demo',
+ files: {
+ 'App.vue': ShaderApp,
+ }
+};
diff --git a/doc/examples/thumbnail/App.vue b/doc/examples/thumbnail/App.vue
new file mode 100644
index 0000000..2d4ca5b
--- /dev/null
+++ b/doc/examples/thumbnail/App.vue
@@ -0,0 +1,52 @@
+
+
+
+
+
diff --git a/doc/examples/thumbnail/index.ts b/doc/examples/thumbnail/index.ts
new file mode 100644
index 0000000..8eb2cc9
--- /dev/null
+++ b/doc/examples/thumbnail/index.ts
@@ -0,0 +1,8 @@
+import App from './App.vue?raw'
+
+export default {
+ section: 'Advanced usage',
+ files: {
+ 'App.vue': App,
+ },
+};
diff --git a/doc/pages/index.vue b/doc/pages/index.vue
index 14ede11..4fb356e 100644
--- a/doc/pages/index.vue
+++ b/doc/pages/index.vue
@@ -6,7 +6,7 @@
An easy to use diagram editor component
Diagram component for vue.js, inspired by react-diagrams
For Vue 2 & 3!
-
+