How do I get DOT to display an image for a node?

后端 未结 2 2078
無奈伤痛
無奈伤痛 2020-12-15 04:23

I am not having success displaying an image at a node in dot.

My node is defined:

SW103 [image=\"swOpen.png\"]

I can view swO

2条回答
  •  死守一世寂寞
    2020-12-15 05:00

    For one node you can use the below sample:

    xxx.node(SW103 , color='red', image="swOpen.png")
    

    It changed image of SW103 node.

提交回复
热议问题