SNAnalyst / SNAfun

FUNctions to enjoy alongside the SNA4DS course
https://snanalyst.github.io/SNAfun/
GNU General Public License v3.0
1 stars 0 forks source link

manual graph creation function #14

Closed SNAnalyst closed 1 year ago

SNAnalyst commented 2 years ago

Per maksim:

"Would it also be possible to introduce some manual graph creation/node addition/edge addition functions to "SNAfun" by next year? During the first lab, we start with basics, paying quite a bit of attention to the manual creation of graphs (e.g., using the "graph.formula" function). "

SNAnalyst commented 2 years ago

RL: this could wrapper around the appropriate igraph functions (such as ‘graph_from_literal’ or so) and then one could choose whether the output should be an igraph object or a network object.

SNAnalyst commented 1 year ago

added create_manual_graph