DEPRECATED. Use networkit.dynamics.graphFromStream instead.
Convenience function for creating a new graph from a stream of graph events
stream (list(networkit.dynamics.GraphEvent)) – Event stream
weighted (bool) – Produce a weighted or unweighted graph
directed (bool) – Produce a directed or undirected graph