Jekyll Graphviz Plugin

Apr 09, 2026

All right! I’ve discovered a Graphviz plugin for Jekyll (jekyll-graphviz). I can simply embed Graphviz code in my blogs now, without the need to pre-render them. And with LLMs for Graphviz code generation, it becomes very smooth to generate the examples I want.

For example, a pet’s inner monologue:

graphviz-1e9bee4f16418110d43c41811cf83d30 digraph { node [shape=ellipse] "Sleep" -> "Hear noise" -> "Investigate" "Investigate" -> "It's nothing" -> "Sleep" "Investigate" -> "It's food!" -> "Eat" "Eat" -> "Still hungry?" "Still hungry?" -> "Stare at human" [label="yes"] "Still hungry?" -> "Sleep" [label="no"] "Stare at human" -> "Human gives food" -> "Eat" "Stare at human" -> "Human ignores" -> "Knock something off table" -> "Human gives food" } %3 Sleep Sleep Hear noise Hear noise Sleep->Hear noise Investigate Investigate Hear noise->Investigate It's nothing It's nothing Investigate->It's nothing It's food! It's food! Investigate->It's food! It's nothing->Sleep Eat Eat It's food!->Eat Still hungry? Still hungry? Eat->Still hungry? Still hungry?->Sleep no Stare at human Stare at human Still hungry?->Stare at human yes Human gives food Human gives food Stare at human->Human gives food Human ignores Human ignores Stare at human->Human ignores Human gives food->Eat Knock something off table Knock something off table Human ignores->Knock something off table Knock something off table->Human gives food

#jekyll #graphviz