{"id":16571886,"url":"https://github.com/hrbrmstr/graffle","last_synced_at":"2026-04-30T16:33:17.127Z","repository":{"id":141238235,"uuid":"118542332","full_name":"hrbrmstr/graffle","owner":"hrbrmstr","description":"An 'OmniGraffle' Graphics Device [WIP]","archived":false,"fork":false,"pushed_at":"2019-02-13T10:58:17.000Z","size":731,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-06T18:46:50.766Z","etag":null,"topics":["automation","macos","omnigraffle","r","rstats"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hrbrmstr.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-01-23T01:55:49.000Z","updated_at":"2025-03-22T10:58:43.000Z","dependencies_parsed_at":"2024-08-19T03:03:10.320Z","dependency_job_id":null,"html_url":"https://github.com/hrbrmstr/graffle","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/hrbrmstr/graffle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Fgraffle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Fgraffle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Fgraffle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Fgraffle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hrbrmstr","download_url":"https://codeload.github.com/hrbrmstr/graffle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hrbrmstr%2Fgraffle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32470879,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automation","macos","omnigraffle","r","rstats"],"created_at":"2024-10-11T21:25:34.422Z","updated_at":"2026-04-30T16:33:17.111Z","avatar_url":"https://github.com/hrbrmstr.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: rmarkdown::github_document\n---\n\n# graffle\n\nAn 'OmniGraffle' Graphics Device [WIP]\n\n## Description\n\nA graphics device that produces 'OmniGraffle' documents. \nCurrently based on the code structure of the 'svglite' package.\n\n## What's Inside The Tin\n\nThe following functions are implemented:\n\n- `graffle`: A graphics device that produces 'OmniGraffle' documents\n\n## NOTE\n\nThis is a WIP but it may still be useful to some folks. The pacakge (perhaps somewhat obviously) requires that you have OmniGraffle installed.\n\nIt also requires that you have it open and \u0026mdash; for the moment \u0026mdash; have at least one document window open. It relies on the [Omni Automation API](https://omni-automation.com/omnigraffle/) and \"draws\" directly in a new document.\n\nEventually it will not be necessary to have OmniGraffle already open or also have a document open to make this work.\n\nSince it's instrumenting an application to draw, it's also not super-speedy. Yay for closed document formats?\n\n## TODO\n\n- Fix need to have OG up and an existing or new doc open\n- Text/fonts\n- Tests\n\n## Installation\n\n```{r eval=FALSE}\ndevtools::install_git(\"https://git.sr.ht/~hrbrmstr/graffle\")\n# OR \ndevtools::install_gitlab(\"hrbrmstr/graffle\")\n# OF \ndevtools::install_github(\"hrbrmstr/graffle\")\n```\n\n```{r message=FALSE, warning=FALSE, error=FALSE, include=FALSE}\noptions(width=120)\n```\n\n## Usage\n\n```{r message=FALSE, warning=FALSE, error=FALSE}\nlibrary(graffle)\n\n# current verison\npackageVersion(\"graffle\")\n\n```\n\n### Base graphics\n\n```{r eval=FALSE}\ngraffle()\nplot(\n  cars, main = \"Stopping Distance versus Speed\",\n  col = \"red\", cex = 3\n)\nlines(stats::lowess(cars), col = \"blue\")\ndev.off()\n```\n\n![](man/figures/base-graphics.gif)\n\n### ggplot2\n\n```{r eval=FALSE}\ngraffle()\nggplot(mpg, aes(displ, hwy)) +\n  geom_point(aes(color = drv)) +\n  facet_wrap(vars(cyl, drv))\ndev.off()\n```\n\n![](man/figures/ggplot2-example.gif)\n\n## `graffle` Metrics\n\n```{r cloc, echo=FALSE}\ncloc::cloc_pkg_md()\n```\n\n## Code of Conduct\n\nPlease note that the 'graffle' project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md). By contributing to this project, you agree to abide by its terms.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrbrmstr%2Fgraffle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhrbrmstr%2Fgraffle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhrbrmstr%2Fgraffle/lists"}