Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想指向一个子图,其中线停在边缘。据我了解,我可以选择子图中的任何节点。有没有办法创建一个可以指向的不可见节点?
digraph G { compound=true; subgraph cluster_a{ label="node1"; node1; } node2->node1 [lhead=cluster_a]; }
理想情况下 node1 不应该是可见的
您可以简单地使用style=invis:
style=invis
node1 [style=invis];