You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Design a user-facing textual grammar for Graphene nodes and networks #1605
I'm not sure I quite understand the meaning of this? Is this the same as creating a stable document format such that the node graph can be fully encoded? How would you envision this format to look like?
This is essentially a DSL serialization format which minimally encodes anything a user might copy from the graph. Essentially it would act as a canonical ASCII format for a Graphene graph's source code.
The purpose is to let users copy and paste nodes into forums, etc. to share their node setups, ask for help, etc. It also makes it easier for users, on the rare occasions it's needed, to manually edit the values more ergonomically than today's experience editing the JSON of a .graphite file to update its format.
We could also simplify our .graphite file encoding by using this syntax instead of the highly verbose JSON (that would be part of #1609). This will also potentially be the format we end up saving in the future .gdd file format (although our plans for version history and CRDTs might mean we end up encoding it differently in the end).
changed the title [-]Create a user-facing ASCII format for nodes and subgraphs[/-][+]Design a user-facing textual grammar for Graphene nodes and networks[/+]on Nov 10, 2025
Activity
0HyperCube commentedon Feb 15, 2024
I'm not sure I quite understand the meaning of this? Is this the same as creating a stable document format such that the node graph can be fully encoded? How would you envision this format to look like?
Keavon commentedon Feb 18, 2024
This is essentially a DSL serialization format which minimally encodes anything a user might copy from the graph. Essentially it would act as a canonical ASCII format for a Graphene graph's source code.
The purpose is to let users copy and paste nodes into forums, etc. to share their node setups, ask for help, etc. It also makes it easier for users, on the rare occasions it's needed, to manually edit the values more ergonomically than today's experience editing the JSON of a
.graphitefile to update its format.We could also simplify our
.graphitefile encoding by using this syntax instead of the highly verbose JSON (that would be part of #1609). This will also potentially be the format we end up saving in the future.gddfile format (although our plans for version history and CRDTs might mean we end up encoding it differently in the end).[-]Create a user-facing ASCII format for nodes and subgraphs[/-][+]Design a user-facing textual grammar for Graphene nodes and networks[/+]