I have the following problem, where given a graph in the adjacency matrix, I need to simulate it with objects.
Node → Cube
Edge → Cube scaled and rotated and positioned between nodes
I Have done it, for example, the following picture
The problem occurred when there is a node that came between 2 other nodes connected, where the edge passes through it, like the following pic.
I need a way to handle it, maybe like the following pic, or other ideas …!!