{"id":13665777,"url":"https://github.com/malcolmbarrett/dagtex","last_synced_at":"2025-03-21T11:33:44.994Z","repository":{"id":47422255,"uuid":"171795884","full_name":"malcolmbarrett/dagtex","owner":"malcolmbarrett","description":"lightly opinionated LaTeX DAGs in R","archived":false,"fork":false,"pushed_at":"2023-06-12T21:14:39.000Z","size":75,"stargazers_count":41,"open_issues_count":4,"forks_count":6,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-01T06:09:38.484Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/malcolmbarrett.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"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":"2019-02-21T03:47:48.000Z","updated_at":"2024-12-23T07:45:56.000Z","dependencies_parsed_at":"2024-10-28T10:24:09.287Z","dependency_job_id":null,"html_url":"https://github.com/malcolmbarrett/dagtex","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malcolmbarrett%2Fdagtex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malcolmbarrett%2Fdagtex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malcolmbarrett%2Fdagtex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/malcolmbarrett%2Fdagtex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/malcolmbarrett","download_url":"https://codeload.github.com/malcolmbarrett/dagtex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244135909,"owners_count":20403798,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-08-02T06:00:50.430Z","updated_at":"2025-03-21T11:33:44.585Z","avatar_url":"https://github.com/malcolmbarrett.png","language":"R","funding_links":[],"categories":["R"],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n\u003c!-- README.md is generated from README.Rmd. Please edit that file --\u003e\n\n```{r setup, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"35%\"\n)\n```\n\n# dagtex\n\nThe goal of dagtex is to to create tikz DAGs from R. Under very early development and a bit of neglect.\n\n## Installation\n\nYou can install the development version of dagtex from GitHub with:\n\n``` r\n# install.packages(\"remotes\")\nremotes::install_github(\"malcolmbarrett/dagtex\")\n```\n\n## Example\n    \nThis is a basic example which shows you how to solve a common problem:\n\n```{r example}\nlibrary(dagtex)\n\ndagtex() %\u003e% \n  add_node(\"x\") %\u003e% \n  add_node(\"y\") %\u003e% \n  add_edge(\"x\", \"y\", is_curved = TRUE)\n\ndagtex() %\u003e% \n  add_node(\"u1\") %\u003e% \n  add_node(\"l\") %\u003e% \n  add_node(\"a\") %\u003e% \n  add_node(\"y\") %\u003e% \n  add_node(\"u2\", below = \"u1\") %\u003e% \n  add_node(\"u3\", below = \"l\") %\u003e% \n  add_edge(\"u1\", \"l\") %\u003e% \n  add_edge(\"l\", \"a\") %\u003e% \n  add_edge(\"u1\", \"y\", is_curved = TRUE, annotate = annotate_edge(\"wow\")) %\u003e% \n  add_edge(\"l\", \"y\", is_curved = TRUE) %\u003e%\n  add_edge(\"u2\", \"l\", start_position = \"north\", end_position = \"south\") %\u003e% \n  add_edge(\"u2\", \"a\", start_position = \"north\", end_position = \"south\") %\u003e% \n  add_edge(\"u3\", \"a\", start_position = \"north\", end_position = \"south\") %\u003e% \n  add_edge(\"u3\", \"y\", start_position = \"north\", end_position = \"south\")\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmalcolmbarrett%2Fdagtex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmalcolmbarrett%2Fdagtex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmalcolmbarrett%2Fdagtex/lists"}