Skip to content

[Dev]: Litegraph Error thrown; Cannot remove input/output from a copied node. #5037

@rgthree

Description

@rgthree

Attempting to call node.removeInput or removeOutput on a cloned/copied node throws an error because each call node.disconnectInput or disconnectOutput which throws if there's no graph on the node.

However, a copied node does not have a graph field, so this always fails. A copied node still has inputs/outputs, though; it would be good to be able to remove them without error.

┆Issue is synchronized with this Notion page by Unito

Metadata

Metadata

Labels

Public APIAffects or interacts with the public API surface (affecting custom node or extension authors)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions