Skip to content

Commit

Permalink
Using new pipeline graph for read-only visualization as well. Subsequ…
Browse files Browse the repository at this point in the history
…ent cleanup of deprecated pipeline code.
  • Loading branch information
krulis-martin committed Dec 17, 2021
1 parent 1ea59b4 commit 318aede
Show file tree
Hide file tree
Showing 24 changed files with 22 additions and 1,005 deletions.
36 changes: 0 additions & 36 deletions src/components/Pipelines/BoxForm/AddBoxForm.js

This file was deleted.

48 changes: 0 additions & 48 deletions src/components/Pipelines/BoxForm/EditBoxForm.js

This file was deleted.

6 changes: 2 additions & 4 deletions src/components/Pipelines/PipelineGraph/PipelineGraph.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ const technicalBoxLabels = {
'file-to-array': '{ <in> file | <out> [file] }',
'string-to-array': '{ <in> str | <out> [str] }',
'file-name': '{ <in> file | <out> str }',
'file-names': '{ <in> [files] | <out> [strs] }',
'files-names': '{ <in> [files] | <out> [strs] }',
};

/**
Expand Down Expand Up @@ -242,7 +242,6 @@ const preprocessClickEvent = (ev, boxIds, variableIds) => {

const PipelineGraph = ({
boxes,
boxTypes,
variables,
utilization,
selectedBox = null,
Expand All @@ -269,7 +268,7 @@ const PipelineGraph = ({
setBoxIds(boxIds);
setVariableIds(variableIds);
startRenderingToSvg(dot).then(result => setSvg(result));
}, [boxes, boxTypes, variables, utilization, selectedBox, selectedVariable]);
}, [boxes, variables, utilization, selectedBox, selectedVariable]);

return (
<InsetPanel className="m-0 p-0">
Expand Down Expand Up @@ -305,7 +304,6 @@ const PipelineGraph = ({

PipelineGraph.propTypes = {
boxes: PropTypes.array.isRequired,
boxTypes: PropTypes.object.isRequired,
variables: PropTypes.array.isRequired,
utilization: PropTypes.object.isRequired,
selectedBox: PropTypes.string,
Expand Down
124 changes: 0 additions & 124 deletions src/components/Pipelines/PipelineVisualEditor/PipelineVisualEditor.js

This file was deleted.

2 changes: 0 additions & 2 deletions src/components/Pipelines/PipelineVisualEditor/index.js

This file was deleted.

26 changes: 0 additions & 26 deletions src/components/Pipelines/PipelineVisualEditor/pipeline.css

This file was deleted.

This file was deleted.

2 changes: 0 additions & 2 deletions src/components/Pipelines/PipelineVisualisation/index.js

This file was deleted.

9 changes: 0 additions & 9 deletions src/components/Pipelines/PipelineVisualisation/pipeline.less

This file was deleted.

45 changes: 0 additions & 45 deletions src/components/forms/Fields/PipelineField.js

This file was deleted.

Loading

0 comments on commit 318aede

Please sign in to comment.