Multiple source nodes for DiHyperEdge

36 views
Skip to first unread message

Ethan Kuarez

unread,
Nov 28, 2016, 3:23:56 AM11/28/16
to scala-graph
I've noticed that directed hyperedges can only have one source node. Is there a reason for this/is there a way to create a custom directed edge which will allow for multiple sources and multiple targets?

Peter Empen

unread,
Nov 28, 2016, 9:39:52 AM11/28/16
to scala-graph
Right, there is a lack of support for multiple sources for purely technical reasons on the traversing side.
Unfortunately, I don't see how to overcome it by any custom edge.
It is planned to addressed this issue in the first quarter of '17.

mukul....@databricks.com

unread,
Oct 4, 2018, 5:56:33 PM10/4/18
to scala-graph
Hi Peter,

I'm hoping to use scala-graph to represent a hypergraph that also requires multiple source nodes for an edge. Do you know if this was ever implemented since this earlier conversation?

Thanks,
Mukul

Peter Empen

unread,
Oct 7, 2018, 7:59:58 AM10/7/18
to scala-graph
Hi Makul,

not yet, unfortunately. But it is good to know there exists some interest in this feature.

Actually, I did start work on multiple-source hyperedges some time ago but I pushed the results aside due to lack of time and uncertainty about demand.
I may resume work, however. If so, it will take time since it is not an easy extension but rather a major retrofit of all edge types. Would you, or any other potential user, say it is still worth?

Peter

Mukul Murthy

unread,
Oct 8, 2018, 1:43:35 PM10/8/18
to Peter Empen, scala-graph
We were hoping to use scala-graph if it had that support, but since it doesn't we'll most likely write our own lightweight alternative for a prototype. As for whether it's worth it, that's completely up to you :).

Melvin

unread,
May 28, 2019, 12:49:59 PM5/28/19
to scala-graph
Would love this feature--like Makul, we'll have to switch to an alternative in the meantime. Thanks!

Peter Empen

unread,
Jun 7, 2019, 3:12:50 AM6/7/19
to scala-graph
Hi Melvin,

this is already done but need be shipped along with other changes so it is planned to be part of a 2.0 release.
I hope 2.0 may get ready late this year but that also depends on other contributors...
Reply all
Reply to author
Forward
0 new messages