From 8d7093bfe913edc9cb6235c60338189711751b27 Mon Sep 17 00:00:00 2001 From: Marvin Sanchez Date: Fri, 19 Aug 2016 08:55:05 +0800 Subject: [PATCH] update README file --- README.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ad65a6b..ddcc1e3 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,20 @@ # yaml2mindmap -converts a yaml file (to json) to a mind map (in processing) +Converts a yaml file (to json) to a mind map (in processing) + +This is a processing.org + python app that reads a yaml file, converts it to json format, and generate +a mind map image. + +parsey.py is the utility that parses yaml and outputs a json string, readable in processing. +The yaml files should be saved in the data/ folder. The yaml file is intermediately converted to json +for easy loading in processing. + +$> python parsey.py ./data/civpro.yaml + +yaml2mindmap.pde is the processing app that generates the image. +Edit the project variable to select the yaml source, omitting 'data' folder and the '.yaml' extension. + +Press 'i' to save the image, '-' and '+' to zoom in or out. + +The python script is automatically called by the processing app. + +Some rudiment styling is supported.