How to create node with image and label outside

I want to create new node in graph like this. Can you help me, thanks a lot
Screen Shot 2021-11-15 at 15.01.23

use for the label outside, perhaps.

and maybe a node with shape=circle and a flag emoji inside

Thanks @mark so much. How to place label on right of node? and place image in node?

I don’t know how to get the label on the right of the node. I think xlabel just puts the label wherever.

Here’s an example with an image in a node:

If you want extreme control over what labels go exactly where, then probably you want an SVG image editor rather than Graphviz.

Try this - an html label with 2 cells. Image in the left cell & text in the right:

graph C{
 t [shape=plaintext,label=<
  <TR><TD><IMG SRC="image_dir/cow.png" /></TD><td>one two three</td></TR>