News for hackers. Stuff that matters.
Re:Create diagrams with code using Graphviz by fsiefken on Wednesday June 10, 2020 @07:56AM (#23476067)
there must be away to run it in a headless browser en screencapture and parse the output as png
Re:Create diagrams with code using Graphviz by AlexITC on Wednesday June 10, 2020 @09:34AM (#23476839)
Actually, it's pretty simple, just include https://github.com/markushedvall/plantuml-encoder and call

    "https://www.plantuml.com/plantuml/img/" + encode(text);
    
That's what I did on collabuml.
Re:Create diagrams with code using Graphviz by kristiandupont on Wednesday June 10, 2020 @07:58AM (#23476088)
Surely there is. It just seems overly complicated to me.