rich-iannone / DiagrammeR

Graph and network visualization using tabular data in R
https://rich-iannone.github.io/DiagrammeR/
Other
1.68k stars 247 forks source link

Mermaid in Markdown. Arrow length supported? #473

Closed PStaus closed 7 months ago

PStaus commented 1 year ago

Following R notebook is not creating correct figure. If arrows are standard it works. Is there a way to make this work? Thank you! (DiagrammR Version 1.0.9)

---
title: "Mermaid"
output: html_notebook
---

```{r}
library(DiagrammeR)
mermaid("     
graph LR;
A-->B
A--->C")

This syntax works normally when using mermaid in Joplin and also on Github
graph LR;
A-->B;
A--->C;
rich-iannone commented 7 months ago

Closing this in favor of https://github.com/rich-iannone/DiagrammeR/issues/475.