I have a Tinkerpop graph database on AWS Neptune.
In some cases, I have more than one edge connecting two nodes.
In the screenshot below, there is a node for 'Gary Barlow' and there is a node for 'All That I've Given Away'. Two edges connect these nodes, but those edges have labels which are overlapping. This makes the edge labels unreadable.
Is there a way to stop these edges and edge labels from overlapping?
Perhaps using Neptune magics?

There is a description of how to do this in that Git Issue for the graph-notebook project.
In summary, you just have to change the layout option used by the underlying renderer. By default all graph diagrams are drawn using the
straightCrosslayout. However in cases where there are parallel edges in the same direction between two nodes, the edges tend to be drawn on top of each other. In such cases, thedynamiclayout produces more pleasing visuals. We should update the sample notebooks to demonstrate how to make these changes.The
%%graph_notebook_vis_optionscommand with the following JSON is all that is needed. You can of course keep any other changes you may have already made.