Does anybody know why my second solution
here requires LuaLaTeX and does not work with XeLaTeX? 'Not works' means that, although it compiles, the result is a mess. I think the nodes are not being filled at all but, somehow, the drop shadows are still created as if the nodes were filled. At least, that's what it looks like.