Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 623 Bytes

readme.md

File metadata and controls

12 lines (11 loc) · 623 Bytes

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")