Skip to content

Conversation

@meshy
Copy link
Owner

@meshy meshy commented May 8, 2023

We used to generate the schema with each type of edge and node in a different list.

This instead groups everything into edges or nodes, and marks those differences with "tags" such as "abstract" etc.

Some work is done in the view to convert back into the old format so that the work on the front-end can be handled separately.

@meshy meshy changed the title Rework data structure Rework schema data structure May 8, 2023
@meshy meshy force-pushed the rework-data-structure branch 2 times, most recently from 108ef15 to 199470e Compare May 8, 2023 12:41
@meshy meshy marked this pull request as ready for review May 9, 2023 12:07
meshy added 5 commits May 9, 2023 13:29
Before this change, the data was grouped by the type of edge and node.

This is now restructured into nodes and edges with tags to carry the
extra information.
The view logic has been altered so that the data sent to the front-end
is the same for now.
@meshy meshy force-pushed the rework-data-structure branch from 199470e to 9519964 Compare May 9, 2023 12:30
@meshy meshy merged commit fb98987 into main May 9, 2023
@meshy meshy deleted the rework-data-structure branch May 9, 2023 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants