Skip to content
This repository was archived by the owner on Jun 4, 2024. It is now read-only.

Commit b366bd3

Browse files
committed
📦 Rebuild bundles.
1 parent 0bf332e commit b366bd3

File tree

4 files changed

+39
-7
lines changed

4 files changed

+39
-7
lines changed

dash_renderer/dash_renderer.dev.js

Lines changed: 36 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33741,9 +33741,11 @@ function triggerDefaultState(dispatch, getState) {
3374133741
var _getState = getState(),
3374233742
graphs = _getState.graphs;
3374333743

33744-
var InputGraph = graphs.InputGraph;
33744+
var InputGraph = graphs.InputGraph,
33745+
MultiGraph = graphs.MultiGraph;
3374533746

3374633747
var allNodes = InputGraph.overallOrder();
33748+
MultiGraph.overallOrder();
3374733749
var inputNodeIds = [];
3374833750
allNodes.reverse();
3374933751
allNodes.forEach(function (nodeId) {
@@ -35213,6 +35215,7 @@ var graphs = function graphs() {
3521335215
{
3521435216
var dependencies = action.payload;
3521535217
var inputGraph = new _dependencyGraph.DepGraph();
35218+
var multiGraph = new _dependencyGraph.DepGraph();
3521635219

3521735220
dependencies.forEach(function registerDependency(dependency) {
3521835221
var output = dependency.output,
@@ -35221,16 +35224,45 @@ var graphs = function graphs() {
3522135224
// Multi output supported will be a string already
3522235225
// Backward compatibility by detecting object.
3522335226

35224-
var outputId = (0, _ramda.type)(output) === 'Object' ? output.id + '.' + output.property : output;
35227+
var outputId = void 0;
35228+
if ((0, _ramda.type)(output) === 'Object') {
35229+
outputId = output.id + '.' + output.property;
35230+
} else {
35231+
outputId = output;
35232+
if (output.startsWith('.')) {
35233+
output.slice(2, output.length - 2).split('...').forEach(function (out) {
35234+
multiGraph.addNode(out);
35235+
inputs.forEach(function (i) {
35236+
var inputId = i.id + '.' + i.property;
35237+
if (!multiGraph.hasNode(inputId)) {
35238+
multiGraph.addNode(inputId);
35239+
}
35240+
multiGraph.addDependency(inputId, out);
35241+
});
35242+
});
35243+
} else {
35244+
multiGraph.addNode(output);
35245+
inputs.forEach(function (i) {
35246+
var inputId = i.id + '.' + i.property;
35247+
if (!multiGraph.hasNode(inputId)) {
35248+
multiGraph.addNode(inputId);
35249+
}
35250+
multiGraph.addDependency(inputId, output);
35251+
});
35252+
}
35253+
}
35254+
3522535255
inputs.forEach(function (inputObject) {
3522635256
var inputId = inputObject.id + '.' + inputObject.property;
3522735257
inputGraph.addNode(outputId);
35228-
inputGraph.addNode(inputId);
35258+
if (!inputGraph.hasNode(inputId)) {
35259+
inputGraph.addNode(inputId);
35260+
}
3522935261
inputGraph.addDependency(inputId, outputId);
3523035262
});
3523135263
});
3523235264

35233-
return { InputGraph: inputGraph };
35265+
return { InputGraph: inputGraph, MultiGraph: multiGraph };
3523435266
}
3523535267

3523635268
default:

dash_renderer/dash_renderer.dev.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash_renderer/dash_renderer.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dash_renderer/dash_renderer.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)