gpt4 book ai didi

image - 是否可以在 DOT 语言图的节点内包含图像?

转载 作者:行者123 更新时间:2023-12-03 23:36:26 24 4
gpt4 key购买 nike

我想在 DOT 语言图的节点内包含图像(不仅是文本)。是否可以?我没有找到任何关于它的例子。

谢谢。

最佳答案

(假设您可以使用 Graphviz 来满足您的需求)

阅读自 the Graphviz documentation :

image

Gives the name of a file containing an image to be displayed inside a node. The image file must be in one of the recognized formats, typically JPEG, PNG, GIF or Postscript, and be able to be converted into the desired output format. Unlike with the shapefile attribute, the image is treated as node content rather than the entire node. In particular, an image can be contained in a node of any shape, not just a rectangle.

关于image - 是否可以在 DOT 语言图的节点内包含图像?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3174561/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com