Dot:如何用黑色轮廓装饰图形节点,同时用另一种颜色填充?
我需要格式化点图的帮助。为了简化我的问题,我在这里有一个点代码,我通过点工具运行它:
digraph G
{
TestNode [label="Test Node", shape="egg" style="filled" color="yellow"]
}
结果是:
我想要这个节点有一个黑色轮廓。我怎样才能做到这一点?
I need help with formatting a dot graph. To simplify my question, I have a dot code here which I run through a dot tool:
digraph G
{
TestNode [label="Test Node", shape="egg" style="filled" color="yellow"]
}
results in this:
I want to have a black outline to this node. How can I do that?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将
fillcolor
与color
一起使用确实可以实现您的目标:来自文档:
Using
fillcolor
together withcolor
does achieve what you're after:From the documentation: