NodeGraph: Use layered layout instead of force based layout (#78957)

This commit is contained in:
Andrej Ocenas
2024-01-31 17:26:12 +01:00
committed by GitHub
parent 395a06ab86
commit cb945aa5df
27 changed files with 1684 additions and 70 deletions

View File

@ -35,7 +35,8 @@ def yarn_install_step():
"name": "yarn-install",
"image": images["node"],
"commands": [
"apt-get update -yq && apt-get install python -y",
# Python is needed to build `esfx`, which is needed by `msagl`
"apk add --no-cache --virtual .gyp python3 make g++ && ln -sf /usr/bin/python3 /usr/bin/python",
"yarn install --immutable",
],
"depends_on": [],

View File

@ -127,6 +127,13 @@ module.exports = {
test: /(unicons|mono|custom)[\\/].*\.svg$/,
type: 'asset/source',
},
{
// Required for msagl library (used in Nodegraph panel) to work
test: /\.m?js$/,
resolve: {
fullySpecified: false,
},
},
],
},
// https://webpack.js.org/plugins/split-chunks-plugin/#split-chunks-example-3