The custom node does not work with linked elements. I’m not sure it’s possible to replace the graphics of linked elements.