I haveFor the two complex weighted hypergraphs which shares{$G_{1}: w1$ for edge $(d_{1},d_{2})$; $G_{1}: w2$ for edge ($d_{1},d_{3}$) } sharing one vertex $d_{1}$, I use different color for the complex angle and transparency for the complex radial (usually a color wheel can stand for such complex domain, see halirutan's solution for plotting colorwheel).
Here the HypergraphPlot function is from Jaebum Jung's hypergraph plotting):
fig1 = HypergraphPlot[{{Subscript[d, 1], Subscript[d, 2]}, {Subscript[d, 1], Subscript[d, 3]}}, "SubsetBoundaryStyle" -> (Directive[EdgeForm[{Thickness[0.003], Black}], #] & /@ {Green, Red}), "SubsetBoundaryScale" -> {2, 2, 2, 2}, "SubsetEdge" -> False, PlotTheme -> "Classic"] SoThere in the plot figure isabove example fig1 as{$G_{1}: w_{1}=1$, red color ; $G_{2}: w_{2}=I$, green color }, the hypergraph is plotting as following fig1:
I want to knowNow the question is how tocan I show the overlap region and summingwith the correct color infor the common regions such assummed weights fig2$w_{3}=w_{1}+w_{2}$ for vertex ($d_{1}$? Assume red + green ~green~ yellow)?, so the fig1 should be fig2 as I want. But I don't know how to show up the overlapped region.
The stupid way I do is to drawquite stupid -- adding one more additional hypergraph that only contains the common vertex and$d_{1}$ with the summedcorrect color -- this will showto cover the common region but in a manual way such as:.
HypergraphPlot[fig2=HypergraphPlot[{{Subscript[d, 1], Subscript[d, 2]}, {Subscript[d, 1], Subscript[d, 3]}, {Subscript[d, 1], Subscript[d, 1]}}, "SubsetBoundaryStyle" -> (Directive[EdgeForm[{Thickness[0.003], Black}], #] & /@ {Red, Green, Yellow}), "SubsetBoundaryScale" -> {2, 2, 2, 2}, "SubsetEdge" -> False, PlotTheme -> "Classic"] WhatBut I think it's not a good idea because if mutiple edges in two vertices? AndI have complicated hypergraphs and the manual way is not so nice duecommon regions are randomly, I cannot always put additional edges to cover and I can see the discontinued curves from differentadding edges cannot follow obviously the original overlapped curves.
Is there any clever way to do such things if the hypergraphs get more complicatedcolor common regions with graphs? Thank you very much in advance! If something is unclear, thank you for pointing out!



