Qiskit / rustworkx

A high performance Python graph library implemented in Rust.
https://www.rustworkx.org
Apache License 2.0
1.05k stars 146 forks source link

Add functions to parse node link JSON #1091

Closed mtreinish closed 2 months ago

mtreinish commented 7 months ago

This commit adds the missing functionality to parse node link json and generate rustworkx graph objects from it. This adds two new functions parse_node_link_json_str() to parse a node link json string and parse_node_link_json_file() to parse a node link json file from a path.

Partial #840

coveralls commented 7 months ago

Pull Request Test Coverage Report for Build 9620134374

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
src/json/node_link_data.rs 27 30 90.0%
src/json/mod.rs 84 93 90.32%
<!-- Total: 117 129 90.7% -->
Totals Coverage Status
Change from base Build 9620123262: 0.007%
Covered Lines: 17592
Relevant Lines: 18348

💛 - Coveralls