yEd offers the possibility to use raster images and vector graphics for vertices. I suggest to create the desired shapes as SVG documents and importing those as explained in How can I use my own node symbols in yEd?