dlcole3 / DataGraphs.jl

MIT License
0 stars 0 forks source link

Removed node positions and added dataset addition APIs #33

Closed dlcole3 closed 1 year ago

dlcole3 commented 1 year ago

Removed the node position attribute (from here on, DataGraphPlots and DataGraphs will not use a specific node position attribute, but instead just store the node positions as attributes in the node data). This included removing the GeometryBasics dependencies.

Added functions for adding significant amounts of node data or edge data to a graph. these functions are add_node_dataset! and add_edge_dataset! which can add vecctors or dictionaries of information to a graph. Also added accompanying tests for these functions.

codecov[bot] commented 1 year ago

Codecov Report

Merging #33 (3ee0590) into main (fdc9bb0) will increase coverage by 2.40%. The diff coverage is 95.31%.

@@            Coverage Diff             @@
##             main      #33      +/-   ##
==========================================
+ Coverage   91.00%   93.41%   +2.40%     
==========================================
  Files           9        9              
  Lines        1457     1671     +214     
==========================================
+ Hits         1326     1561     +235     
+ Misses        131      110      -21     
Impacted Files Coverage Δ
src/DataGraphs.jl 100.00% <ø> (ø)
src/datadigraphs/utils.jl 97.18% <ø> (+4.43%) :arrow_up:
src/datagraphs/utils.jl 91.17% <ø> (+2.52%) :arrow_up:
src/datadigraphs/core.jl 95.95% <94.50%> (-0.31%) :arrow_down:
src/datagraphs/core.jl 90.68% <94.88%> (+5.06%) :arrow_up:
src/interface.jl 95.94% <100.00%> (+2.92%) :arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.