A keyboard-driven decision tree editor, for visually exploring spaces of ideas, possible sequences of events, and so much more. Demo
The application provides 6 modes of interaction with the decision tree- Travel
, MakeChild
, Edit
, Delete
, Cut
, Paste
.
In Travel Mode:
e
: switch to Edit modet
: switch to Travel modes
: clear the selected text, then switch to edit modeo
: activate MakeChild mode for one nodex
: activate Delete mode for one nodem
: activate Cut mode for one nodep
: activate Paste mode for one nodec
: persist the next moder
: edit file namet
: open file/url specified by node buffer with xdg-openw
: save fileq
: quit the program-
: Zoom out=
: Zoom in
In Any Mode:
- press esc
to return to travel mode and switch mode-persist off
In Edit Mode: - type to enter text
Some modes allow you to select nodes by entering their corresponding red characters. These characters are called "Hint Keys" and modes that use hint keys to select nodes are called "Hint Modes". The characters h
, l
, and k
always refer to the left node, right node, and parent node of the currently selected node, respectively.
In Travel Mode:
- press hint keys to travel to corresponding node
In MakeChild Mode:
- press hint keys to create a child of the corresponding node
In Delete Mode:
- press hint keys to delete the corresponding node
In Cut Mode:
- press hint keys to select a node to cut
In Paste Mode:
- select a new parent for the cut node
- SDL2
- SDL2_ttf
- make
- gcc
On Arch Linux:
pacman -S sdl2 sdl2_ttf
git clone https://github.com/jarbus/dtree
cd dtree
make
On Ubuntu
apt install libsdl2-ttf-dev
git clone https://github.com/jarbus/dtree
cd dtree
make