This modeule creates GraphML(XML) output form plain text as follows:
- Blank lines split the text in nodes.
- Enumarated indexes form a tree structure, starting from the very first node as a root.
- Each node has a property 'name' which is taken from the first lines of each text block.
- The rest of the lines are stored in property 'text'.
- When a text block is a single line, it's assumed as a middle node in the tree. Otherwise it's assumed as a leaf.
- A configuration file provides parametes for creating each node based on it's type in the tree structure. The assumed types can be overwritten for each node.
- Cross links can be made by using @ and the enumareted indexes.
The demo folder contains an example text document (demo.txt) and the output (demo.graphml) as well as screenshot of the graph (demo.png).