LLNL / hatchet

Graph-indexed Pandas DataFrames for analyzing hierarchical performance data
https://llnl-hatchet.readthedocs.io
MIT License
29 stars 18 forks source link

Preserve Node Ordering in Graph Copy #117

Closed michaelmckinsey1 closed 8 months ago

michaelmckinsey1 commented 10 months ago

Summary

self.node_ordering is always initialized to false when creating a graph. The copy function creates a new graph, so even if the parent graph self.node_ordering=True, the copy graph will be node_ordering=False, which is undesirable.