Design plan: - Use both Python and Rust - Python: read out data from `nx.Graph` and convert to built-in data structures - Rust: input and output are both Python built-in types, no 3rd-party data structures