Finished!
Requirements and effects can be assigned; import and export issues have been fixed (the code is still ugly); positional meta data saved on the side; no bugs either, apart from the visual issues.
Last new feature, raw prose import, is about the new and improved workflow. Let's reminisce with the old ways first!
1. Write prose in a simple format (surround paragraphs with quotation marks, basically).
2. Copy prose to an empty DATA object file.
3. Name each data object based on the paragraph content.
4. Copy data objects to an empty ACTION object file.
5. Run a script which adds in the required ACTION object syntax.
6. Link ACTION objects together with text indices and action types based on the design.
7. Add in extra requirements and effects based on the design.
Lots of steps; most of them very time consuming and, of course,
monkey work.
Here's the new workflow with the node editor.
1. Write prose in a simple format (the same as before).
2. Import the raw prose into the editor (nodes created automatically)
3. Link nodes to each other based on the design (drag and drop).
4. Add in extra requirements and effects based on the design.
5. Export into a file (an automatical process)
Two less steps, two of them are the same as before (1. and 4.), two are completely automated (2. and 5.) and the last one (3.) is much faster than in the old workflow. Great!
I've tested the editor on two smaller events, no problems. Tomorrow I will try it on a more complicated event. About the only potential issue I can forsee is having to move nodes around too much if things change. Hmm, maybe there is a way to zoom out in Gtk? I'll have to look into that if need be.
Skipped the devlog on Monday as I didn't have that much to show and since yesterday I've been under a flu cutting the hours effectively in half. Getting better already and motivation is flying high. Writing will be the most time consuming part from now on.
Cheers!