Collection of issues to refine `qoolqit.graph` module: - [x] deprecate importing `DataGraph` directly from `qoolqit`, prefer ```python from qoolqit.graphs import DataGraph ``` #423 #424 - [x] ~~convenience methods to set/fetch weights on edge/nodes**~~ Already exist, just bugged #431 - [x] convenience methods: `from_matrix` and `to_matrix` to set/get the connectivity matrix #429 #430 position is attribute of node - [x] ~~method in datagraph to access easily to set of coordinates~~ already exist - [x] method to return interaction matrix #432 #433 - [x] Scope graph submodules: reorganize and clearly scope who is who and what does what #441 #442
Collection of issues to refine
qoolqit.graphmodule:deprecate importing
DataGraphdirectly fromqoolqit, preferDeprecate top-level
from qoolqit import DataGraph, preferfrom qoolqit.graphs import DataGraph#423Deprecate top-level
from qoolqit import DataGraph#424convenience methods to set/fetch weights on edge/nodes**Already exist, just bugged edge_weights does not reflect edges added after construction #431convenience methods:
from_matrixandto_matrixto set/get the connectivity matrixadd to_matrix method in DataGraph #429
Add to_matrix method to DataGraph #430
position is attribute of node
method in datagraph to access easily to set of coordinatesalready existmethod to return interaction matrix
Add
interaction_matrixmethod to DataGraph #432add interaction matrix to DataGraph #433
Scope graph submodules: reorganize and clearly scope who is who and what does what
Scope graphs submodules #441
Scope graphs submodules #442