@eventcatalog/core 3.48.4 → 4.0.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/dist/analytics/analytics.cjs +1 -1
  2. package/dist/analytics/analytics.js +2 -2
  3. package/dist/analytics/log-build.cjs +1 -1
  4. package/dist/analytics/log-build.js +3 -3
  5. package/dist/catalog-to-astro-content-directory.cjs +1 -1
  6. package/dist/chunk-BWN544LB.js +73 -0
  7. package/dist/{chunk-XNVSSL4W.js → chunk-JTZT2SDF.js} +1 -1
  8. package/dist/{chunk-JY4H7A4S.js → chunk-M2ZRT7KQ.js} +1 -1
  9. package/dist/{chunk-SY4XL6OQ.js → chunk-MBVTS76Q.js} +1 -1
  10. package/dist/{chunk-KDLSBQRP.js → chunk-TZTPGQGL.js} +1 -1
  11. package/dist/{chunk-FNDSHOV2.js → chunk-U5OTNDVQ.js} +1 -1
  12. package/dist/constants.cjs +1 -1
  13. package/dist/constants.js +1 -1
  14. package/dist/core-node-modules.cjs +108 -0
  15. package/dist/core-node-modules.d.cts +7 -0
  16. package/dist/core-node-modules.d.ts +7 -0
  17. package/dist/core-node-modules.js +8 -0
  18. package/dist/docs/development/components/components/15-prompt.md +5 -1
  19. package/dist/eventcatalog.cjs +124 -48
  20. package/dist/eventcatalog.js +26 -15
  21. package/dist/generate.cjs +1 -1
  22. package/dist/generate.js +3 -3
  23. package/dist/utils/cli-logger.cjs +1 -1
  24. package/dist/utils/cli-logger.js +2 -2
  25. package/eventcatalog/astro.config.mjs +27 -23
  26. package/eventcatalog/public/icons/languages/java.svg +1 -0
  27. package/eventcatalog/public/icons/payments/stripe.svg +1 -0
  28. package/eventcatalog/src/components/Badge.astro +10 -10
  29. package/eventcatalog/src/components/CopyAsMarkdown.tsx +154 -0
  30. package/eventcatalog/src/components/Grids/DomainGrid.tsx +207 -44
  31. package/eventcatalog/src/components/Grids/MessageGrid.tsx +0 -20
  32. package/eventcatalog/src/components/Grids/SystemGrid.tsx +185 -0
  33. package/eventcatalog/src/components/MDX/ADRTable/ADRTable.astro +99 -0
  34. package/eventcatalog/src/components/MDX/ADRTable/ADRTable.client.tsx +400 -0
  35. package/eventcatalog/src/components/MDX/ContextDiagram/ContextDiagramPortal.tsx +21 -0
  36. package/eventcatalog/src/components/MDX/NodeGraph/AstroNodeGraph.tsx +1 -0
  37. package/eventcatalog/src/components/MDX/NodeGraph/NodeGraph.astro +42 -6
  38. package/eventcatalog/src/components/MDX/Prompt/Prompt.astro +62 -9
  39. package/eventcatalog/src/components/MDX/ResourceRef/ResourceRef.astro +8 -1
  40. package/eventcatalog/src/components/MDX/SystemContextMap/SystemContextMapPortal.tsx +22 -0
  41. package/eventcatalog/src/components/MDX/components.tsx +7 -0
  42. package/eventcatalog/src/components/SchemaExplorer/SchemaExplorer.tsx +1 -1
  43. package/eventcatalog/src/components/SideNav/NestedSideBar/index.tsx +67 -37
  44. package/eventcatalog/src/components/Tables/Discover/DiscoverTable.tsx +47 -0
  45. package/eventcatalog/src/components/Tables/Discover/FilterComponents.tsx +10 -2
  46. package/eventcatalog/src/components/Tables/Discover/columns.tsx +115 -27
  47. package/eventcatalog/src/components/Tables/Discover/index.ts +7 -1
  48. package/eventcatalog/src/components/Tables/SystemResources/SystemResourcesTable.tsx +267 -0
  49. package/eventcatalog/src/content.config.ts +96 -8
  50. package/eventcatalog/src/enterprise/collections/resource-docs-utils.ts +4 -1
  51. package/eventcatalog/src/enterprise/custom-documentation/pages/docs/custom/index.astro +12 -13
  52. package/eventcatalog/src/enterprise/custom-documentation/utils/custom-docs.ts +6 -0
  53. package/eventcatalog/src/enterprise/feature.ts +3 -1
  54. package/eventcatalog/src/layouts/VerticalSideBarLayout.astro +96 -140
  55. package/eventcatalog/src/layouts/VisualiserLayout.astro +66 -0
  56. package/eventcatalog/src/pages/architecture/[type]/[id]/[version]/_index.data.ts +4 -2
  57. package/eventcatalog/src/pages/architecture/[type]/[id]/[version]/index.astro +2 -0
  58. package/eventcatalog/src/pages/diagrams/[id]/[version]/index.astro +15 -15
  59. package/eventcatalog/src/pages/discover/[type]/_index.data.ts +1 -0
  60. package/eventcatalog/src/pages/discover/[type]/index.astro +47 -2
  61. package/eventcatalog/src/pages/docs/[type]/[id]/[version]/[docType]/[docId]/[docVersion]/index.astro +15 -14
  62. package/eventcatalog/src/pages/docs/[type]/[id]/[version]/[docType]/[docId]/index.astro +13 -14
  63. package/eventcatalog/src/pages/docs/[type]/[id]/[version]/_index.data.ts +1 -0
  64. package/eventcatalog/src/pages/docs/[type]/[id]/[version]/changelog/_index.data.ts +11 -1
  65. package/eventcatalog/src/pages/docs/[type]/[id]/[version]/index.astro +81 -26
  66. package/eventcatalog/src/pages/docs/[type]/[id]/[version]/resources/_index.data.ts +89 -0
  67. package/eventcatalog/src/pages/docs/[type]/[id]/[version]/resources/index.astro +85 -0
  68. package/eventcatalog/src/pages/docs/[type]/[id]/[version].md.ts +2 -0
  69. package/eventcatalog/src/pages/docs/[type]/[id]/[version].mdx.ts +2 -0
  70. package/eventcatalog/src/pages/docs/[type]/[id]/_index.data.ts +1 -0
  71. package/eventcatalog/src/pages/docs/teams/[id]/index.astro +24 -1
  72. package/eventcatalog/src/pages/docs/users/[id]/index.astro +24 -1
  73. package/eventcatalog/src/pages/index.astro +30 -7
  74. package/eventcatalog/src/pages/visualiser/[type]/[id]/[version]/_index.data.ts +1 -0
  75. package/eventcatalog/src/pages/visualiser/[type]/[id]/[version]/index.astro +1 -1
  76. package/eventcatalog/src/pages/visualiser/[type]/[id]/[version].mermaid.ts +3 -0
  77. package/eventcatalog/src/pages/visualiser/domains/[id]/[version]/systems-context/_index.data.ts +94 -0
  78. package/eventcatalog/src/pages/visualiser/domains/[id]/[version]/systems-context/index.astro +51 -0
  79. package/eventcatalog/src/pages/visualiser/system-context-map/index.astro +41 -0
  80. package/eventcatalog/src/pages/visualiser/systems/[id]/[version]/context/_index.data.ts +91 -0
  81. package/eventcatalog/src/pages/visualiser/systems/[id]/[version]/context/index.astro +51 -0
  82. package/eventcatalog/src/stores/sidebar-store/builders/adr.ts +3 -1
  83. package/eventcatalog/src/stores/sidebar-store/builders/agent.ts +3 -1
  84. package/eventcatalog/src/stores/sidebar-store/builders/container.ts +1 -1
  85. package/eventcatalog/src/stores/sidebar-store/builders/data-product.ts +1 -1
  86. package/eventcatalog/src/stores/sidebar-store/builders/domain.ts +127 -49
  87. package/eventcatalog/src/stores/sidebar-store/builders/message.ts +1 -1
  88. package/eventcatalog/src/stores/sidebar-store/builders/service.ts +4 -2
  89. package/eventcatalog/src/stores/sidebar-store/builders/shared.ts +2 -1
  90. package/eventcatalog/src/stores/sidebar-store/builders/system.ts +166 -0
  91. package/eventcatalog/src/stores/sidebar-store/state.ts +99 -6
  92. package/eventcatalog/src/types/index.ts +2 -0
  93. package/eventcatalog/src/utils/collection-colors.ts +6 -1
  94. package/eventcatalog/src/utils/collections/domains.ts +35 -0
  95. package/eventcatalog/src/utils/collections/icons.ts +4 -5
  96. package/eventcatalog/src/utils/collections/systems.ts +110 -0
  97. package/eventcatalog/src/utils/collections/teams.ts +15 -10
  98. package/eventcatalog/src/utils/collections/users.ts +7 -4
  99. package/eventcatalog/src/utils/collections/util.ts +2 -0
  100. package/eventcatalog/src/utils/icon-map.ts +20 -0
  101. package/eventcatalog/src/utils/icon.ts +11 -0
  102. package/eventcatalog/src/utils/node-graphs/container-node-graph.ts +12 -2
  103. package/eventcatalog/src/utils/node-graphs/domains-node-graph.ts +0 -170
  104. package/eventcatalog/src/utils/node-graphs/system-context-node-graph.ts +400 -0
  105. package/eventcatalog/src/utils/node-graphs/systems-node-graph.ts +208 -0
  106. package/eventcatalog/src/utils/node-graphs/utils/utils.ts +12 -0
  107. package/eventcatalog/src/utils/page-loaders/page-data-loader.ts +2 -0
  108. package/package.json +17 -14
  109. package/eventcatalog/src/pages/visualiser/context-map/index.astro +0 -30
@@ -0,0 +1,208 @@
1
+ import { getCollection } from 'astro:content';
2
+ import dagre from 'dagre';
3
+ import { createDagreGraph, calculatedNodes, DEFAULT_NODE_WIDTH, DEFAULT_NODE_HEIGHT } from '@utils/node-graphs/utils/utils';
4
+ import { getNodesAndEdges as getServicesNodeAndEdges } from './services-node-graph';
5
+ import { getNodesAndEdges as getContainerNodeAndEdges } from './container-node-graph';
6
+ import merge from 'lodash.merge';
7
+ import { createVersionedMap, findInMap } from '@utils/collections/util';
8
+
9
+ type DagreGraph = any;
10
+
11
+ interface NodesAndEdgesProps {
12
+ id: string;
13
+ version: string;
14
+ defaultFlow?: DagreGraph;
15
+ mode?: 'simple' | 'full';
16
+ group?: boolean;
17
+ // When true, wraps the whole system graph in a single parent boundary node
18
+ // labelled with the system name. Used by the standalone System Diagram.
19
+ wrapInSystemGroup?: boolean;
20
+ channelRenderMode?: 'single' | 'flat';
21
+ layout?: boolean;
22
+ }
23
+
24
+ export const getNodesAndEdges = async ({
25
+ id,
26
+ version,
27
+ defaultFlow,
28
+ mode = 'simple',
29
+ group = false,
30
+ wrapInSystemGroup = false,
31
+ channelRenderMode = 'flat',
32
+ layout = true,
33
+ }: NodesAndEdgesProps) => {
34
+ const flow = defaultFlow || createDagreGraph({ ranksep: 360, nodesep: 50, edgesep: 50 });
35
+ let nodes = new Map(),
36
+ edges = new Map();
37
+
38
+ // 1. Parallel Fetching
39
+ const [systems, services, containers] = await Promise.all([
40
+ getCollection('systems'),
41
+ getCollection('services'),
42
+ getCollection('containers'),
43
+ ]);
44
+
45
+ const system = systems.find((s) => s.data.id === id && s.data.version === version);
46
+
47
+ // Nothing found...
48
+ if (!system) {
49
+ return {
50
+ nodes: [],
51
+ edges: [],
52
+ };
53
+ }
54
+
55
+ // 2. Build optimized maps
56
+ const serviceMap = createVersionedMap(services);
57
+ const containerMap = createVersionedMap(containers);
58
+
59
+ const rawServices = system?.data.services || [];
60
+
61
+ // Optimized hydration
62
+ const systemServicesWithVersion = rawServices
63
+ .map((service) => findInMap(serviceMap, service.id, service.version))
64
+ .filter((s): s is any => !!s)
65
+ .map((svc) => ({ id: svc.data.id, version: svc.data.version }));
66
+
67
+ // Hydrate the data stores (containers) mapped directly to the system
68
+ const systemContainersWithVersion = (system?.data.containers || [])
69
+ .map((container) => findInMap(containerMap, container.id, container.version))
70
+ .filter((c): c is any => !!c)
71
+ .map((container) => ({ id: container.data.id, version: container.data.version }));
72
+
73
+ // Grab the node-graph for each service in the system and merge them into one graph
74
+ for (const service of systemServicesWithVersion) {
75
+ const { nodes: serviceNodes, edges: serviceEdges } = await getServicesNodeAndEdges({
76
+ id: service.id,
77
+ version: service.version,
78
+ defaultFlow: flow,
79
+ mode,
80
+ renderAllEdges: true,
81
+ channelRenderMode,
82
+ layout: false,
83
+ });
84
+
85
+ serviceNodes.forEach((n) => {
86
+ /**
87
+ * A message could be sent by one service and received by another service in the same system.
88
+ * So, we need to deep merge the message to keep the `showSource` and `showTarget` as true.
89
+ */
90
+ nodes.set(n.id, nodes.has(n.id) ? merge(nodes.get(n.id), n) : n);
91
+ });
92
+ // @ts-ignore
93
+ serviceEdges.forEach((e) => edges.set(e.id, e));
94
+ }
95
+
96
+ // Grab the node-graph for each data store (container) in the system and merge them into one graph.
97
+ // This renders the data store along with the services that read from / write to it, the same way
98
+ // services are merged above.
99
+ for (const container of systemContainersWithVersion) {
100
+ const { nodes: containerNodes, edges: containerEdges } = await getContainerNodeAndEdges({
101
+ id: container.id,
102
+ version: container.version,
103
+ defaultFlow: flow,
104
+ mode,
105
+ channelRenderMode,
106
+ layout: false,
107
+ });
108
+
109
+ containerNodes.forEach((n) => {
110
+ nodes.set(n.id, nodes.has(n.id) ? merge(nodes.get(n.id), n) : n);
111
+ });
112
+ // @ts-ignore
113
+ containerEdges.forEach((e) => edges.set(e.id, e));
114
+ }
115
+
116
+ // Add group node to the graph (used when a system is rendered inside another view)
117
+ if (group) {
118
+ nodes.forEach((n) => {
119
+ nodes.set(n.id, { ...n, data: { ...n.data, group: { type: 'System', value: system?.data.name, id: system?.data.id } } });
120
+ });
121
+ }
122
+
123
+ if (layout) {
124
+ dagre.layout(flow);
125
+ }
126
+
127
+ let laidOutNodes = calculatedNodes(flow, Array.from(nodes.values()));
128
+
129
+ // Wrap everything inside a single parent "system group" boundary node, so all
130
+ // the services / data stores / messages visibly belong to one system. We only
131
+ // do this when this graph owns its own layout (`layout` true) — when it's
132
+ // being merged into a larger graph (e.g. a domain view) the host owns grouping.
133
+ if (wrapInSystemGroup && layout && laidOutNodes.length > 0) {
134
+ laidOutNodes = wrapNodesInSystemGroup(laidOutNodes, flow, system);
135
+ }
136
+
137
+ return {
138
+ nodes: laidOutNodes,
139
+ edges: [...edges.values()],
140
+ };
141
+ };
142
+
143
+ // Padding around the children inside the group box, and headroom for the header banner.
144
+ const GROUP_PADDING_X = 100;
145
+ const GROUP_PADDING_Y = 100;
146
+ const GROUP_HEADER_HEIGHT = 64;
147
+
148
+ /**
149
+ * Wraps a set of already-laid-out nodes in one parent `system-group` node.
150
+ *
151
+ * The rest of the app uses dagre's node position directly as the ReactFlow
152
+ * position, so we stay in that same coordinate space. Child nodes under a
153
+ * `parentId` are positioned relative to the parent, so we:
154
+ * 1. compute the bounding box of all nodes (using dagre position + size),
155
+ * 2. create a parent group node at the box origin (minus padding/header),
156
+ * 3. re-home every node as a child, offset by the group origin.
157
+ */
158
+ const wrapNodesInSystemGroup = (laidOutNodes: any[], flow: DagreGraph, system: any) => {
159
+ let minX = Infinity;
160
+ let minY = Infinity;
161
+ let maxX = -Infinity;
162
+ let maxY = -Infinity;
163
+
164
+ for (const node of laidOutNodes) {
165
+ const dims = flow.node(node.id) || {};
166
+ const width = dims.width ?? DEFAULT_NODE_WIDTH;
167
+ const height = dims.height ?? DEFAULT_NODE_HEIGHT;
168
+
169
+ minX = Math.min(minX, node.position.x);
170
+ minY = Math.min(minY, node.position.y);
171
+ maxX = Math.max(maxX, node.position.x + width);
172
+ maxY = Math.max(maxY, node.position.y + height);
173
+ }
174
+
175
+ // Origin of the group box (room for padding + the header banner at the top).
176
+ const groupX = minX - GROUP_PADDING_X;
177
+ const groupY = minY - GROUP_PADDING_Y - GROUP_HEADER_HEIGHT;
178
+ const groupWidth = maxX - minX + GROUP_PADDING_X * 2;
179
+ const groupHeight = maxY - minY + GROUP_PADDING_Y * 2 + GROUP_HEADER_HEIGHT;
180
+
181
+ const groupId = `system-group-${system.data.id}-${system.data.version}`;
182
+
183
+ const groupNode = {
184
+ id: groupId,
185
+ type: 'system-group',
186
+ position: { x: groupX, y: groupY },
187
+ draggable: false,
188
+ selectable: false,
189
+ style: { width: groupWidth, height: groupHeight },
190
+ data: {
191
+ system: { name: system.data.name, version: system.data.version },
192
+ },
193
+ };
194
+
195
+ // Re-home each node as a child, with its position relative to the group origin.
196
+ const childNodes = laidOutNodes.map((node) => ({
197
+ ...node,
198
+ parentId: groupId,
199
+ extent: 'parent',
200
+ position: {
201
+ x: node.position.x - groupX,
202
+ y: node.position.y - groupY,
203
+ },
204
+ }));
205
+
206
+ // Parent must come before its children in the array for ReactFlow.
207
+ return [groupNode, ...childNodes];
208
+ };
@@ -324,6 +324,18 @@ export const buildContextMenuForResource = ({
324
324
  ];
325
325
  };
326
326
 
327
+ /**
328
+ * Context menu for a system node on the System Diagram.
329
+ * Offers the system's documentation, its architecture map, and its own context view.
330
+ */
331
+ export const buildContextMenuForSystem = ({ id, version }: { id: string; version: string }): ContextMenuItem[] => {
332
+ return [
333
+ { label: 'Read documentation', href: buildUrl(`/docs/systems/${id}/${version}`) },
334
+ { label: 'View map', href: buildUrl(`/visualiser/systems/${id}/${version}`) },
335
+ { label: 'View context', href: buildUrl(`/visualiser/systems/${id}/${version}/context`) },
336
+ ];
337
+ };
338
+
327
339
  /**
328
340
  * Extracts operation fields (method, path, statusCodes) from a message's
329
341
  * `operation` frontmatter and returns them as top-level props the visualiser expects.
@@ -2,6 +2,7 @@ import type { CollectionTypes, PageTypes } from '@types';
2
2
  import { getAgents } from '@utils/collections/agents';
3
3
  import { getChannels } from '@utils/collections/channels';
4
4
  import { getDomains } from '@utils/collections/domains';
5
+ import { getSystems } from '@utils/collections/systems';
5
6
  import { getCommands, getEvents } from '@utils/collections/messages';
6
7
  import { getQueries } from '@utils/collections/queries';
7
8
  import { getServices } from '@utils/collections/services';
@@ -24,6 +25,7 @@ export const pageDataLoader: Record<PageTypes, (options?: PageDataLoaderOptions)
24
25
  queries: getQueries,
25
26
  services: getServices,
26
27
  domains: getDomains,
28
+ systems: getSystems,
27
29
  channels: getChannels,
28
30
  flows: getFlows,
29
31
  entities: getEntities,
package/package.json CHANGED
@@ -7,7 +7,7 @@
7
7
  },
8
8
  "license": "SEE LICENSE IN LICENSE",
9
9
  "type": "module",
10
- "version": "3.48.4",
10
+ "version": "4.0.0-beta.1",
11
11
  "publishConfig": {
12
12
  "access": "public"
13
13
  },
@@ -23,6 +23,9 @@
23
23
  },
24
24
  "files": [
25
25
  "eventcatalog/",
26
+ "!eventcatalog/.astro/",
27
+ "!eventcatalog/dist/",
28
+ "!eventcatalog/node_modules/",
26
29
  "!eventcatalog/**/__tests__/",
27
30
  "bin/",
28
31
  "dist/"
@@ -30,9 +33,9 @@
30
33
  "dependencies": {
31
34
  "@ai-sdk/react": "^3.0.17",
32
35
  "@astrojs/markdown-remark": "^7.2.0",
33
- "@astrojs/mdx": "^6.0.3",
34
- "@astrojs/node": "^10.1.4",
35
- "@astrojs/react": "^5.0.7",
36
+ "@astrojs/mdx": "^7.0.0",
37
+ "@astrojs/node": "^11.0.0",
38
+ "@astrojs/react": "^6.0.0",
36
39
  "@astrojs/rss": "^4.0.18",
37
40
  "@asyncapi/avro-schema-parser": "3.0.24",
38
41
  "@asyncapi/parser": "^3.6.0",
@@ -54,13 +57,13 @@
54
57
  "@radix-ui/react-tooltip": "^1.1.8",
55
58
  "@scalar/api-reference-react": "^0.9.36",
56
59
  "@tailwindcss/typography": "^0.5.16",
57
- "@tailwindcss/vite": ">=4.1.5 <4.2.2",
60
+ "@tailwindcss/vite": "^4.3.1",
58
61
  "@tanstack/react-table": "^8.17.3",
59
62
  "@xyflow/react": "^12.3.6",
60
63
  "ai": "^6.0.17",
61
- "astro": "^6.4.7",
64
+ "astro": "^7.0.3",
62
65
  "astro-compress": "^2.4.0",
63
- "astro-expressive-code": "^0.41.7",
66
+ "astro-expressive-code": "^0.44.0",
64
67
  "astro-seo": "^0.8.4",
65
68
  "auth-astro": "^4.2.0",
66
69
  "boxen": "^8.0.1",
@@ -94,7 +97,7 @@
94
97
  "react-syntax-highlighter": "^15.6.6",
95
98
  "recast": "^0.23.11",
96
99
  "rehype-autolink-headings": "^7.1.0",
97
- "rehype-expressive-code": "^0.41.7",
100
+ "rehype-expressive-code": "^0.44.0",
98
101
  "rehype-slug": "^6.0.0",
99
102
  "remark-comment": "^1.0.0",
100
103
  "remark-directive": "^3.0.0",
@@ -105,15 +108,15 @@
105
108
  "sonner": "^2.0.7",
106
109
  "sql.js": "^1.12.0",
107
110
  "svg-pan-zoom": "^3.6.2",
108
- "tailwindcss": "^4.1.5",
111
+ "tailwindcss": "^4.3.1",
109
112
  "typescript": "^5.4.5",
110
113
  "unist-util-visit": "^5.0.0",
111
114
  "update-notifier": "^7.3.1",
112
115
  "uuid": "^10.0.0",
113
116
  "zod": "^4.3.6",
114
- "@eventcatalog/visualiser": "^3.22.1",
115
- "@eventcatalog/sdk": "2.24.2",
116
- "@eventcatalog/linter": "1.1.1"
117
+ "@eventcatalog/linter": "1.1.2-beta.0",
118
+ "@eventcatalog/sdk": "2.25.0-beta.0",
119
+ "@eventcatalog/visualiser": "^4.0.0-beta.0"
117
120
  },
118
121
  "devDependencies": {
119
122
  "@astrojs/check": "^0.9.9",
@@ -123,7 +126,7 @@
123
126
  "@types/jsonwebtoken": "^9.0.10",
124
127
  "@types/lodash.debounce": "^4.0.9",
125
128
  "@types/lodash.merge": "4.6.9",
126
- "@types/node": "^20.14.2",
129
+ "@types/node": "^22.12.0",
127
130
  "@types/pako": "^2.0.3",
128
131
  "@types/react": "^19.2.13",
129
132
  "@types/react-dom": "^19.2.3",
@@ -135,7 +138,7 @@
135
138
  "prettier": "^3.3.3",
136
139
  "prettier-plugin-astro": "^0.14.1",
137
140
  "tsup": "^8.1.0",
138
- "vite": "^7.1.11",
141
+ "vite": "^8.1.0",
139
142
  "vite-tsconfig-paths": "^4.3.2",
140
143
  "vitest": "^4.0.18"
141
144
  },
@@ -1,30 +0,0 @@
1
- ---
2
- import NodeGraph from '@components/MDX/NodeGraph/NodeGraph.astro';
3
- import { ClientRouter } from 'astro:transitions';
4
- import VerticalSideBarLayout from '@layouts/VerticalSideBarLayout.astro';
5
- ---
6
-
7
- <VerticalSideBarLayout title={`Visualiser | Bounded context map`}>
8
- <div class="m-4">
9
- <div
10
- class="h-[calc(100vh-130px)] w-full relative border border-[rgb(var(--ec-page-border))] rounded-md"
11
- id={`domain-context-map-portal`}
12
- transition:animate="fade"
13
- >
14
- </div>
15
- <NodeGraph
16
- id="domain-context-map"
17
- collection="domain-context-map"
18
- title="Bounded context map"
19
- mode="full"
20
- linkTo="visualiser"
21
- version="1.0.0"
22
- linksToVisualiser={false}
23
- href={{
24
- label: ``,
25
- url: '/',
26
- }}
27
- />
28
- </div>
29
- <ClientRouter />
30
- </VerticalSideBarLayout>