尋ねる前に、私は自分の質問の答えを検索しようとしましたが、見つかりませんでした。私の質問は、ドット図のエッジ方向を変更することです。ランクディレクトリは「LR」ですが、グラフの特定の部分で「TB」を使用したいと思います。例を挙げましょう。
有向グラフG{ ランクディレクトリ=LR; size = "7,5"; ブラウザ->ui_thread; ブラウザ->db_thread; ブラウザ->webkit_thread; ブラウザ->cache_thread; ブラウザ->file_thread; ブラウザ->io_thread; io_thread [style =filled]; cache_thread [style = filled]; ui_thread-> thread [label = inherit]; ui_thread-> messageloop [style = dotted]; db_thread-> messageloop [style = dotted]; webkit_thread-> messageloop [style = dotted]; cache_thread-> messageloop [style = dotted]; file_thread-> messageloop [style = dotted]; io_thread-> messageloop [style = dotted]; }
このようなグラフが出ます
しかし、これは私が望むものではありません。次の画像が欲しいです。「thread」は「ui_thread」の上に垂直にあります。
「rankdir=same」と「thread」および「ui_thread」を使用すると簡単に解決できると思うかもしれません。私は確かにこれをすでに試しました。しかし、私は失敗しました。「thread」は常に「ui_thread」の下にあります。
ありがとう、