Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
Signed-off-by: Jason Porter <[email protected]>
  • Loading branch information
jsonporter committed Sep 17, 2021
1 parent 6645769 commit b4f1ab6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const ReactFlowGraphComponent = props => {
root: data,
nodeExecutionsById: nodeExecutionsById,
onNodeSelectionChanged: onNodeSelectionChanged,
maxRenderDepth: 1
maxRenderDepth: 2
} as ConvertDagProps);

const backgroundStyle = getRFBackground(data.nodeExecutionStatus).nested;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,14 +35,10 @@ export const buildReactFlowNode = (props: BuildRFNodeProps): Node => {
const type = typeOverride ? typeOverride : dNode.type;
const taskType = dNode?.value?.template ? dNode.value.template.type : null;

console.log('nodeExecutionsById:', nodeExecutionsById);
/**
* @TODO decide which to display after demo
*/
const displayName =
dNode.name == DISPLAY_NAME_START || dNode.name == DISPLAY_NAME_END
? dNode.name
: dNode.scopedId;
const displayName = dNode.name;

const mapNodeExecutionStatus = () => {
if (nodeExecutionsById) {
Expand Down

0 comments on commit b4f1ab6

Please sign in to comment.