DEV Community

allnulled
allnulled

Posted on

Skemator: the easiest diagram scripting tool you will find

This post is to talk about a tool that I have just updated to 1.0.6 version: Skemator.

First, install it.

$ npm i -g skemator

You do not need to install it globally, but it is more handy.

Then, write a script:

sample.skm:

[Hello]
 [pets]
 [humans]
  [from]
   [here]
   [there]
 [plants]
 [mountains]
[here] --they are also--> [humans]
[there] --they are also--> [humans]

Then, compile the script to a png image:

$ skemator compile sample.skm --png

And tada! You got your diagram. Here it is:

Generated diagram

You are welcome, because it is What The Fuck Public License, so do what the fuck you want with it.

Happy coding.

I live with less than 100€. I do not ask for a job, I just want to smoke weed and live coding for everyone.

But nobody cares, they are competing to be dishonest and greedy.

Top comments (0)