Skip to content

Display diagram vertically? #5

@seanhardison1

Description

@seanhardison1

Hi Javier,

Thanks for the great uml interface. How can I make a diagram display vertically (rather than horizontally as in your "[Hello]-[world]" example) from rmarkdown?

Here's my example:

---
output:
  github_document:
    fig_width: 4
    fig_height: 1
always_allow_html: yes
---

```{r setup, include = FALSE}
library(nomnoml)
knitr::opts_chunk$set(eval = TRUE, echo = F, warning = F)
knitr::opts_chunk$set(fig.path = "tools/readme/", dev = "png")

```

```{nomnoml nomnoml-decorator, width = 4, height = 10}

#fontSize: 7
#spacing: 50
#padding: 20
#stroke: black
#.box: fill=lightblue visual=ellipse

[Final Document (.pdf/.html)] <- [<box>render_ecsa.R ]
[render_ecsa.R ] <- [Reviewed Draft (.Rmd)]
[Reviewed Draft (.Rmd)] <- [<box>merge_to_bookdown.R] 
[merge_to_bookdown.R] <- [Figure skeleton (.Rmd)]
[Reviewed Draft (.Rmd)] <- [<box>merge_to_bookdown.R] 
[merge_to_bookdown.R] <- [Text outline (google doc)]
[Figure skeleton (.Rmd)] -> [Text outline (google doc)]
[Text outline (google doc)] <- [<box>create_template.R]
[Figure skeleton (.Rmd)] <- [create_template.R]
[create_template.R] <- [Stock template (.Rmd)]

```

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions