Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/obartra/attina

React Mermaid Renderer 🐟
https://github.com/obartra/attina

graph mermaid

Last synced: 4 months ago
JSON representation

React Mermaid Renderer 🐟

Awesome Lists containing this project

README

        

# Attina 🐟

Mermaid react renderer compatible with React 15.5+ based off [React Mermaid](https://github.com/jasonbellamy/react-mermaid)

Uses [Mermaid](https://mermaidjs.github.io/mermaidAPI.html) under the hood

## Setup

Install with:

```shell
$ yarn add attina
```

## Usage

```js
B;
A-->C;
B-->D;
C-->D;`}
/>
```

Will produce the following output:

![](img/output.png)

## Demo

You can modify this example on codesandbox:

[![Edit 7jqo862n7j](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/7jqo862n7j)