'Are there ASCII generators for ERD diagrams? [closed]

Are there any ASCII generators for ERD diagrams (perhaps that fit well within markup syntax)?

For example, that could generate something like this:

 ---------
 |  Hai  |
 ---------
     |
     |
    /|\
 ---------         ------------          ---------
 |  Foo  |-------< |  FooBar  | >------- |  Bar  |
 ---------         ------------          ---------
    \|/
     |
     |
 ---------
 |  Bai  |
 ---------


Solution 1:[1]

I think this link might be helpfull: http://asciiflow.com/

Solution 2:[2]

You can use mermaidjs in markdown files to represent ER diagrams. It's not ASCII, but having it in markdown may suit your use-case.

It supported by both GitHub, GitLab and most IDEs out there.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 krzysiej
Solution 2 marcpicaud