queirozfcom / rachinations

Other
2 stars 0 forks source link

enable defining multiple edges at once in the DSL #68

Open queirozfcom opened 9 years ago

queirozfcom commented 9 years ago

For example, if the user wants to add the edges coming out of node "p1" to nodes "p2", "p3" and "p4", instead of adding each one on its own line, it would be much better if users could do something like this: (note the use of edgesinstead of edge)

edges from: 'p1', to: [ 'p2', 'p3', 'p4' ]

using ruby Arrays