cross-posted from: https://slrpnk.net/post/25845036
I have something like this just as a sample starting experiment:
digraph unix { margin=0; ratio=0.5625; /* 9/16 */ subgraph cluster_cf { label = "imperial Cloudflare empire"; rankdir="LR";orientation="landscape";/*newrank=true;*/ shitjustworks_philly [shape=rectangle, label="🏰!philly@sh.itjust.works “philodelphia”"]; shitjustworks_philosophy [shape=rectangle, label="🏰!philosophy@sh.itjust.works “Philosophy”"]; philosophycafe_philosophy_cafe_ja [shape=rectangle, label="🏰!philosophy_cafe_ja@philosophy.cafe “哲学カフェ(日本語)”"]; literaturecafe_Philosophy [shape=rectangle, label="🏰!Philosophy@literature.cafe “philosophy”"]; literaturecafe_philosophicalpoetry [shape=rectangle, label="🏰!philosophicalpoetry@literature.cafe “Philosophical Poetry”"]; lemmyworld_askphilosophy [shape=rectangle, label="🏰!askphilosophy@lemmy.world “askphilosophy”"]; lemmyworld_debatephilosophy [shape=rectangle, label="🏰!debatephilosophy@lemmy.world “Debate Philosophy”"]; lemmyworld_indianphilosophy [shape=rectangle, label="🏰!indianphilosophy@lemmy.world “Hehehh”"]; lemmyworld_philos [shape=rectangle, label="🏰!philos@lemmy.world “Philos”"]; lemmyworld_philosophy [shape=rectangle, label="🏰!philosophy@lemmy.world “Philosophy”"]; } 123 [shape=rectangle, label="🗽☯!naturalphilosophy@slrpnk.net"]; 123 -> shitjustworks_philly [label="blocks",fontcolor=red,color=red]; { rankdir=TB; cluster_cf} }
The problem is that the nodes are wide due to wide labels. So they should be vertically stacked inside the subgraph. But they are horizontally all on the same line, making the graph extremely wide. I have fiddled with various
rankdir
settings (TB and LR), and triedorientation="landscape"
. These settings have no influence.
You must log in or # to comment.