Have you thought about transforming a graph based on a template ? As if you
- search for a graphic template, for example. the type of edge you would like to turn into a node, and
- define the operation of converting this edge to the node / vertex, for example. Transfer all edge properties to the properties of the new node / vertex.
In the graph transformation literature, these two steps are called the left and right side of the graph-transform-rule .
There is a lot of scientific literature in this area, for example: http://www.springer.com/de/book/9783319211442
There are also specialized designs for transforming graphs, such as Soley Studio .
Hope this helps.
brgn
source share