You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/sprotty-elk/CHANGELOG.md
+7-5Lines changed: 7 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,13 +6,15 @@ This change log covers only the `elkjs` layout of Sprotty. See also the change l
6
6
7
7
The `sprotty-elk` package was moved to the main repository of Sprotty, which is now a monorepo. Furthermore, the dependency to the `sprotty` package was removed in favor of the new `sprotty-protocol` package.
8
8
9
-
This package can now be used on the backend side with Node.js as well as on the frontend side.
9
+
This package can now be used on the backend side with Node.js as well as on the frontend side:
10
+
* In the backend, import from `'sprotty-elk/lib/elk-layout'`. These are the plain definitions without a dependency to InversifyJS.
11
+
* In the frontend, import from `'sprotty-elk'` (the default export) or `'sprotty-elk/lib/inversify'`. These definitions are adapted to be used with InversifyJS.
12
+
13
+
Of course you can use the InversifyJS-specific definitions in the backend as well if you plan to use that DI framework there.
10
14
11
15
Breaking API changes:
12
-
* The `elkLayoutModule` is no longer exported by the package index. Imports need to be changed to this:
0 commit comments