mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-11-07 18:03:32 +00:00
A graph in a legacy .ai, or in a current file's editing data, is written as `%_Gs`, its data and settings on `%_` lines, its drawn art in a group with a `%_... Go` tag after each object, and `%_GS`. The reader stopped on the graph operators as ones it doesn't know, so such a file did not open through its layers. The reader now leaves the graph's records out with their operands and reads the drawn art as usual: the bars, lines and labels come in as the groups, paths and type they are written as. Paint operators on `%_` lines between `Gt` and `GT` set nothing. One note per file says the graphs came in as plain art without their data or settings. A graph that starts inside another, or doesn't end before its layer does, keeps the art read so far with a second note. Graph operators outside a graph stay unknown.