Feat 226539: use mocked graphical data #86
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Aim of the PR
This PR fixes AB#226539
We are creating a new graphical format that sends data to the frontend in the form of JSON. This PR aims to start creating components and functions that fetch such data and displays it.
Implementation
There are two new components:
In addition, a modified Pandid-component is created for testing:
PandIdGraphicalDataExample.tsx: Fetches graphical data from the endpoint and loops over all lines and symbols to display them.
New interfaces have been created for the new format.
Type of change
If the changes impact any dependent services then provide details.
How Has This Been Tested?
Tested by visually confirming that both symbols and lines are rendered in the editor and are clickable, both as internal and boundary.
Additional Changes