Skip to content

C++ written tool that outputs binary trees in LaTeX format using PSTricks

Notifications You must be signed in to change notification settings

Ohems/binary-tree-to-pstricks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Binary Tree to PSTricks

Binary Tree to PSTricks is an application written in C++ that takes in binary trees in JSON format and outputs LaTeX documents where the binary tree is drawn using PSTricks.

Libraries used:

Usage: BinaryTreeToPSTricks -i input [-o output] [-n] [-w] [-t]

        -i input:           Input file
        -o output:          Output file, will output to console if not defined
        -n:                 Indent PSTricks output according to tree depth
        -w:                 Wrap with a minimal LaTeX document
        -t:                 Output threads (for debugging purposes)

BTPST has been designed and tested with binary trees in mind, but also features untested support for N-trees. This is because the underlying system doesn't really care about the node child counts and all algorithms used in the project should work with N-trees as well.

BTPST has been developed an exercise for a course at the Technical University of Tampere and the developers offer no support or functioning guarantees for the code. Use at your own risk.

About

C++ written tool that outputs binary trees in LaTeX format using PSTricks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published