https://github.com/crash-g/org_tree
A package that draws org files as weighted graphs
https://github.com/crash-g/org_tree
org-mode plotly python-3-5
Last synced: 4 months ago
JSON representation
A package that draws org files as weighted graphs
- Host: GitHub
- URL: https://github.com/crash-g/org_tree
- Owner: crash-g
- Created: 2017-03-17T11:58:19.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-04T08:30:16.000Z (about 8 years ago)
- Last Synced: 2025-01-19T07:42:31.512Z (5 months ago)
- Topics: org-mode, plotly, python-3-5
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Org Tree
## A package that draws org files as weighted graphs
### Description
This package can be used to render the structure of org files as a weighted graph. The rendering leverages _plotly_ and produces an html file. The color of the node is directly proportional to the amount of text the node and its children contain: the darker the more.
### Installation
Download this repository and use
> pip install /path/to/local/repository/
### Usage
Just import the package and call _drawGraph_ passing to it the absolute path of an org file.
> import org_tree as ot> ot.drawGraph("path/to/org/file.org", "file_encoding")