![{"input"}]({input})
@@ -569,7 +587,7 @@ const getHiddenValue = (edges: Edge[]) => {
};
export default function Graph(props: GraphProps) {
- const { data, namespaceId, pipelineId, refresh } = props;
+ const { data, namespaceId, pipelineId, type, refresh } = props;
const { sidebarProps, setSidebarProps } =
useContext
(AppContext);
@@ -833,6 +851,7 @@ export default function Graph(props: GraphProps) {
refresh={refresh}
namespaceId={namespaceId}
data={data}
+ type={type}
/>
diff --git a/ui/src/components/pages/Pipeline/partials/Graph/partials/CustomNode/index.tsx b/ui/src/components/pages/Pipeline/partials/Graph/partials/CustomNode/index.tsx
index 1acd2e61b6..64718e4f12 100644
--- a/ui/src/components/pages/Pipeline/partials/Graph/partials/CustomNode/index.tsx
+++ b/ui/src/components/pages/Pipeline/partials/Graph/partials/CustomNode/index.tsx
@@ -3,6 +3,7 @@
import { FC, memo, useCallback, useContext, useMemo } from "react";
import { Tooltip } from "@mui/material";
import { Handle, NodeProps, Position } from "reactflow";
+import Box from "@mui/material/Box";
import { HighlightContext } from "../../index";
import { GeneratorColorContext } from "../../../../index";
import { HighlightContextProps } from "../../../../../../../types/declarations/graph";
@@ -11,6 +12,8 @@ import source from "../../../../../../../images/source.png";
import map from "../../../../../../../images/map.png";
import reduce from "../../../../../../../images/reduce.png";
import sink from "../../../../../../../images/sink.png";
+import monoVertex from "../../../../../../../images/monoVertex.svg";
+import transformer from "../../../../../../../images/transformer.svg";
import input0 from "../../../../../../../images/input0.svg";
import input1 from "../../../../../../../images/input1.svg";
import input2 from "../../../../../../../images/input2.svg";
@@ -148,17 +151,17 @@ const CustomNode: FC = ({
if (data?.type === "sideInput") {
return (
{data?.name} }
+ title={ = ({
height={16}
style={{ alignSelf: "center" }}
/>
-
+