knobbly It's a niche template but very useful for creating complex diagrams. Here's the template over at Wikipedia. https://en.wikipedia.org/wiki/Template:Clade
juergen-aus-zuendorf There is a plugin that perhaps helps: https://www.dokuwiki.org/plugin:plantumlparser This plugin allows you to process UML diagrams within the dokuwiki syntax.