Skip to content

save png #33

Description

@alouyakis

Hi,

First, thanks for building this tool.

I'm using nomnoml in rstudio desktop using r notebook. The image renders fine in the notebook output when using both {nomnoml} + code and {r} with code wrapped in the function. But I can't get the png argument to work. For example, the below code chunk outputs the map as expected, but no file is saved.

Best,
Dyanna

nomnoml(
  code = "
  #stroke: darkblue
#.external: stroke=green visual=rectangle
#.section: stroke=purple visual=none align=left

[<frame>Current website
  green: external website
  purple: page sections|
  [Home]--[<section>Our Mission
           Who We Are
           Mail list
           Contact Us]
  [Home]--[Donate]--[Contact Form embedded]--[<external>MailChimp Mail List]--[<external>Facebook]
    [Donate]-->[<external>Anedot]
  [Home]->[Contribute]--[<section>We need your help]
    [Contribute]->[<external>Anedot]
]
  ",
png = "current_site_map.png"
)

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