How can I left-align text in DiagrammeR::graphviz() when I use HTML code?
I need to insert bullet points, venus and mars signs into the nodes, and I have only been able to do this using HTML.
I can find several posts describing how to left-align when not using HTML (\\l), but I can't find any posts on how to do it using HTML.
How can I left-align the text in the nodes when using HTML?
Reprex:
```{r}
DiagrammeR::grViz("
digraph rmarkdown{
# Box
node [shape = box
fontname = Helvetica,
penwidth = 1.0,
fixedsize = true,
width = 3,
height = 1]
A;
A[label =
<
Top row<br/>
• Bullet one<br/>
• Bullet two with more words<br/>
♀ A venus sign
>]
}
")
```
`). So the whitespace is there because of a line break. – Steen Harsted Mar 23 '22 at 08:20