how do I get the closest specific edge to a node with JGraphT

60 Views Asked by At

I have a Graph with nodes which are all the same type and edges with different types. Now i want to share the data of every edge of the nodes with the type x to all other edges with different types, except for other edges of type x. But i want the data to be shared only to the nearest other edges. This is very important. The edges do have all the same parent class but different child classes.

0

There are 0 best solutions below