dynetworkx.ImpulseGraph.save_to_txt¶
-
ImpulseGraph.
save_to_txt
(path, delimiter=' ')¶ - Write impulse graph to path.
- Every line in the file must be an edge in the following format: “node node timestamp”. Timestamps must be integers or floats. Nodes can be any hashable objects.
Parameters: - path (string or file) – Filename to read.
- delimiter (string, optional) – Separator for node labels. The default is whitespace. Cannot be =.
Examples
>>> G.save_to_txt("my_dygraph.txt")