Removed output handle if baseclasses not present
This commit is contained in:
parent
034a8f0641
commit
dc07b3c690
1 changed files with 15 additions and 16 deletions
|
|
@ -242,22 +242,21 @@ export default function GenericNode({
|
||||||
>
|
>
|
||||||
{" "}
|
{" "}
|
||||||
</div>
|
</div>
|
||||||
{/* <div className="px-5 py-2 mt-2 text-center">
|
{data.node.base_classes?.length > 0 && (
|
||||||
Output
|
<ParameterComponent
|
||||||
</div> */}
|
data={data}
|
||||||
<ParameterComponent
|
color={nodeColors[types[data.type]] ?? nodeColors.unknown}
|
||||||
data={data}
|
title={
|
||||||
color={nodeColors[types[data.type]] ?? nodeColors.unknown}
|
data.node.output_types && data.node.output_types.length > 0
|
||||||
title={
|
? data.node.output_types.join("|")
|
||||||
data.node.output_types && data.node.output_types.length > 0
|
: data.type
|
||||||
? data.node.output_types.join("|")
|
}
|
||||||
: data.type
|
tooltipTitle={data.node.base_classes.join("\n")}
|
||||||
}
|
id={[data.type, data.id, ...data.node.base_classes].join("|")}
|
||||||
tooltipTitle={data.node.base_classes.join("\n")}
|
type={data.node.base_classes.join("|")}
|
||||||
id={[data.type, data.id, ...data.node.base_classes].join("|")}
|
left={false}
|
||||||
type={data.node.base_classes.join("|")}
|
/>
|
||||||
left={false}
|
)}
|
||||||
/>
|
|
||||||
</>
|
</>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue