I am trying to add shadows to some of my nodes, specifically when they are selected. The problem I have, is that the actual visible content of the nodes are not the same as the node area itself. In other words, the size of the node is, for example, 200x50, with a shape in the center. The node itself has a transparent background color, so only the shape in the center is visible. I cannot figure out how to apply a shadow to that shape in the center of the node.
Can anybody perhaps help me with this.