Mermaid react renderer compatible with React 15.5+ based off React Mermaid
Uses Mermaid under the hood
Install with:
$ yarn add attina
<Attina
diagram={`
graph TD;
A-->B;
A-->C;
B-->D;
C-->D;`}
/>
Will produce the following output:
You can modify this example on codesandbox: