Closed dwjohnston closed 2 years ago
Yes, that would be desirable behavior - I would love to see a PR!
I also like the idea of making embedded relationships (*_ref/s) use shorter arrows. However, we're currently investigating some other changes to how graphs are displayed. Once those changes are implemented we can revisit this idea. Otherwise we might have to redo it.
For the purposes of testing the associated PR, I adapted the example above as in the attached email-test-bundle-49.json (txt for GitHub). It tests out correctly. email-test-bundle-49.json.txt
This issue was fixed via PR #52
For posterity, my code is slightly behind, but I believe this is still an issue with current master. I'm working from this commit.
Example bundle:
That is, I have an artifact (an email attachment) that I want show the source of (the email).
What I currently get is an orphaned artifact node in the visualisation:
Whereas I want the relationship to show as an edge:
I've already got this working, so happy to create a PR, just want to know if this is desirable behaviour.
(As an aside, it would also be nice to make the distance for for attachment relationships shorter than regular relationships).