I was using steiner_tree approximation algorithm in NetworkX library. While feeding it a directed graph it showed me an error that
NetworkXNotImplemented: not implemented for directed type.
I also tried to convert the following graph to an undirected type, and feed the same. But I'm losing some information like edge directions.
How can I extract Steiner Tree on a Directed Graph?