Open TheHarvard opened 3 years ago
I have found the following file format that is supported by yEd:
.tgf
the following code:
1 Object A
2 Object B
3 Object C
4 Object D
#
1 2 Event 1
1 3 Event 2
1 4 Event 3
2 3 Event 4
2 4 Event 5
3 4 Event 6
Becomes this graph:
No positional data is saved, so yEds auto-layout feature should be used.
No formatting is saved either. upon opneing the file yed will use the node and egde that is currently selected.
possibly a very simple interchange format, that allows us to do what we want as simple as possible?
Should be fairly easy to generate at runtime, when events are created as objects. If the file is generated in "HOME" it will also be included in backups, which will strengthen the tool-approach below.
Another option is to write a tool-application which will read a backup and generate sheets. I've made a couple of simple tools (perl scripts/C#) for this, but only project specific.
I think the best approach is to compile the list at runtime since the event structures are not statically declared, but built and restructured at runtime.
Did you @RobotSigmund build any generic file handling code as part of #21 that could be used for writing the files?
@RobotSigmund i should be able to export a list of all events and event related objects as a csv file. Are you familiar with yEds automated in Port features?
A graph representing events as arrows, and objects as nodes would be invaluable for visualizing and debugging a event based program.