https://github.com/cvigilv/basictreeplots.jl
Basic plotting recipes for trees
Science Score: 10.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
○codemeta.json file
-
○.zenodo.json file
-
○DOI references
-
✓Academic publication links
Links to: zenodo.org -
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (12.5%) to scientific vocabulary
Last synced: 9 months ago
·
JSON representation
Repository
Basic plotting recipes for trees
Basic Info
- Host: GitHub
- Owner: cvigilv
- License: bsd-3-clause
- Default Branch: main
- Homepage: https://benjamindoran.github.io/BasicTreePlots.jl/
- Size: 2.72 MB
Statistics
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
- Releases: 0
Fork of BenjaminDoran/BasicTreePlots.jl
Created over 1 year ago
· Last pushed over 1 year ago
https://github.com/cvigilv/BasicTreePlots.jl/blob/main/
# BasicTreePlots
[](https://BenjaminDoran.github.io/BasicTreePlots.jl/stable)
[](https://BenjaminDoran.github.io/BasicTreePlots.jl/dev)
[](https://github.com/BenjaminDoran/BasicTreePlots.jl/actions)
[](https://github.com/BenjaminDoran/BasicTreePlots.jl/actions/workflows/Test.yml?query=branch%3Amain)
[](https://github.com/BenjaminDoran/BasicTreePlots.jl/actions/workflows/Lint.yml?query=branch%3Amain)
[](https://github.com/BenjaminDoran/BasicTreePlots.jl/actions/workflows/Docs.yml?query=branch%3Amain)
[](https://codecov.io/gh/BenjaminDoran/BasicTreePlots.jl)
[](https://doi.org/FIXME)
[](CODE_OF_CONDUCT.md)
[](#contributors)
[](https://github.com/JuliaBesties/BestieTemplate.jl)
This is a package that aims to provide generic plotting recipes for tree like data structures.
As such the recipes should only require that your data structure fulfills the AbstractTrees interface,
i.e. has `AbstractTrees.children(YourType)` defined.
Optionally, `BasicTreePlots.distance(YourType)` and `BasicTreePlots.label(YourType)` can be defined to allow plotting trees
with variable distances between children and parent nodes and pretty printing of each node in the tree respectively.
Currently, we only provide `Makie.jl` backends, but are interested in contributions for recipes for `Plots.jl` and `TidyPlots.jl`.
As well as any other backends or custom tree structures that don't work automatically.
See the `ext` folder for example extensions.
## Installation
```{julia}
using Pkg
Pkg.add("BasicTreePlots")
```
Or the development version with
```{julia}
using Pkg
Pkg.add("https://github.com/BenjaminDoran/BasicTreePlots.jl.git")
```
## Basic usage
```{julia}
using CairoMakie, BasicTreePlots
tree = ((:a, :b), (:c, :d))
treeplot(tree)
```
See [Documentation](https://BenjaminDoran.github.io/BasicTreePlots.jl/stable) for more details.
## How to Cite
If you use BasicTreePlots.jl in your work, please cite using the reference given in [CITATION.cff](https://github.com/BenjaminDoran/BasicTreePlots.jl/blob/main/CITATION.cff).
## Contributing
If you want to make contributions of any kind, please first that a look into our [contributing guide directly on GitHub](docs/src/90-contributing.md) or the [contributing page on the website](https://BenjaminDoran.github.io/BasicTreePlots.jl/dev/90-contributing/)
---
### Contributors
Owner
- Name: Carlos Vigil-Vásquez
- Login: cvigilv
- Kind: user
- Location: Santiago, Chile
- Twitter: BioWASD
- Repositories: 5
- Profile: https://github.com/cvigilv
Chilean biochemist, Neovim plugin developer, and JuliaLanguage enthusiast. Photographer from time to time.
GitHub Events
Total
- Push event: 3
- Create event: 2
Last Year
- Push event: 3
- Create event: 2