In GraphGroup, store node/edge selection information as graph attribute
As described in utopia#280 (closed), when creating a graph from a GraphGroup
, information about the node/edge selection (i.e., information on selected coordinates/dimensions) is discarded and no longer available afterwards.
Proposal
In create_graph
, store the coordinates of the selected node and edge data as (networkx) graph attribute such that it is bound to the graph object and is available afterwards.
How to test the implementation?
Add simple check whether the graph attributes are correctly set.