mirror of
https://github.com/grafana/grafana.git
synced 2025-08-03 06:22:13 +08:00
NodeGraph: Use layered layout instead of force based layout (#78957)
This commit is contained in:
@ -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": [],
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user