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.
4つのノードa、b、c、dがあるとします。そして、私はエッジを持っています
a -> d b -> c
ここで、グラフを生成すると、頂点がa、d、b、cの順序で取得されrankますsame。しかし、私はそれらをa、b、c、dの順序で欲しいです。ランクはどのように設定すればよいですか?前もって感謝します。
rank
same
非表示のエッジを使用できます。
a -> b[style=invis]; b -> c; c -> d[style=invis]; a -> d[constraint=false];