feat(dashboard): distinguish parent and child relations on a graph #2501
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.
I had a task to refactor some fixtures in the Codux. I decided to use our feature graph for that and it was really useful.
However when viewing feature graph I noticed that all links - parent and child are highlighted in the same color. I could not understand looking at a graph where was my feature requested as a child. Take a look at this:
I hovered over file-assets and it is impossible to tell which related feature uses file-assets vs which is used by file-assets.
So I propose to use different colors for parent links vs child links. I used this approach personally in my abovementioned task and it helped me a lot! So I decided to create this PR, maybe it will help other people when playing with features
After applying my changes:
You can clearly see different colored lines and distinguish parent vs child relations.
If you don't like the suggested color, please feel free to fix it.