'Shadow node' is not a widely used term in Analyze, but you may come across them from time to time when using composites. The purpose of this article is to address errors arising from shadow nodes, and answer the typical questions asked about shadow nodes, also known as 'virtual nodes'.
You may see this error when trying to delete them:
The specified node is a shadow node and deletion of shadow nodes is currently
COMMON QUESTIONS & ANSWERS:
What is a shadow node?
If a node is part of a Library Composite node, the nodes inside are referred to as shadow nodes or virtual nodes.
What actions can cause the creation of a shadow node within a composite?
- Create a new library node A which is a composite type.
- Insert any node B in that composite.
- When you use that library node in any data flow, then in the instance of that node in the data flow, the contained node B is a shadow node.
Can I edit a shadow node?
They can be edited and modified - the code can be changed or pins added, but you cannot remove pins.
Can I delete a shadow node?
This depends on where the node is...
- if you want to remove a node which is defined within a parent library composite, unfortunately this is not possible. However, you can disable the node and leave it in the composite. Once it's disable it won't be picked up by the application.