this post was submitted on 19 Aug 2025
2 points (100.0% liked)

Data Engineering

112 readers
3 users here now

founded 2 years ago
MODERATORS
 

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](/c/philly@sh.itjust.works) “philodelphia”"];
shitjustworks_philosophy [shape=rectangle, label="🏰[!philosophy@sh.itjust.works](/c/philosophy@sh.itjust.works) “Philosophy”"];
philosophycafe_philosophy_cafe_ja [shape=rectangle, label="🏰[!philosophy_cafe_ja@philosophy.cafe](/c/philosophy_cafe_ja@philosophy.cafe) “哲学カフェ(日本語)”"];
literaturecafe_Philosophy [shape=rectangle, label="🏰[!Philosophy@literature.cafe](/c/Philosophy@literature.cafe) “philosophy”"];
literaturecafe_philosophicalpoetry [shape=rectangle, label="🏰[!philosophicalpoetry@literature.cafe](/c/philosophicalpoetry@literature.cafe) “Philosophical Poetry”"];
lemmyworld_askphilosophy [shape=rectangle, label="🏰[!askphilosophy@lemmy.world](/c/askphilosophy@lemmy.world) “askphilosophy”"];
lemmyworld_debatephilosophy [shape=rectangle, label="🏰[!debatephilosophy@lemmy.world](/c/debatephilosophy@lemmy.world) “Debate Philosophy”"];
lemmyworld_indianphilosophy [shape=rectangle, label="🏰[!indianphilosophy@lemmy.world](/c/indianphilosophy@lemmy.world) “Hehehh”"];
lemmyworld_philos [shape=rectangle, label="🏰[!philos@lemmy.world](/c/philos@lemmy.world) “Philos”"];
lemmyworld_philosophy [shape=rectangle, label="🏰[!philosophy@lemmy.world](/c/philosophy@lemmy.world) “Philosophy”"];
        }
        123           [shape=rectangle, label="🗽☯[!naturalphilosophy@slrpnk.net](/c/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 tried orientation="landscape". These settings have no influence.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here