You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature Request: Support for Multilayer Hypergraphs with Heterogeneous Layer Types (Directed & Undirected) #71
I would like to propose adding support for multilayer hypergraphs with heterogeneous layer types, where different layers can independently support directed and undirected hyperedges.
Dependency on Existing Work
This feature builds upon and depends on issue #47, which requests support for directed hypergraphs.
Since heterogeneous multilayer hypergraphs require some layers to be directed, implementing #47 is a necessary prerequisite before this feature can be fully realized.
Activity
yifanfeng97 commentedon Oct 29, 2026
PR #75 已合入基础的多层超图支持(
MultilayerHypergraph),目前各层均为无向超图。\n\n你提到的**异构层类型(有向 + 无向混合)**是更进一步的扩展,需要先实现有向超图(#47)。目前dhg/structure/hypergraphs/directed_hypergraph.py仍为空,有向超图尚未实现。\n\n建议:\n1. 先等待/推动 #47 有向超图的实现\n2. 然后扩展MultilayerHypergraph,允许layers_list中同时包含Hypergraph和未来的DiHypergraph\n\n此 issue 保持 open 作为后续 enhancement。