New answers tagged

6 votes
Accepted

EdgeLabels and EdgeLabelStyle of Graph

...
kglr's user avatar
  • 392k
3 votes
Accepted

How to plot a community structure with specific properties

add the following: ...
halmir's user avatar
  • 15k
5 votes
Accepted

How can I control curved edges between vertices?

You could define custom edge shape for your example: ...
halmir's user avatar
  • 15k
5 votes

How can I remove the exterior face in PlanarFaceList?

At first we use GraphEmbedding to extract the coordinates of the vertexs for the fixed embbeding. To exclude the exterior face one possible way maybe use ...
cvgmt's user avatar
  • 69.8k
1 vote
Accepted

How to determine if two colorings of a graph are the same?

Let's think of $k$-colourings are partitioning of the vertex set into $k$ classes. We can represent these classes as a list of lists. Then all we need to do is canonicalize the list-of-lists ...
Szabolcs's user avatar
  • 234k
1 vote

How to determine if two colorings of a graph are the same?

...
Daniel McDonald's user avatar
5 votes
Accepted

How to remove non-loop vertices in a graph?

KCoreComponents Subgraph[graph, KCoreComponents[graph, 2]]
kglr's user avatar
  • 392k
3 votes

How to remove non-loop vertices in a graph?

I just found a way to do it. I'm still curious if there are other approaches or better improvements for my code, though. ...
internet's user avatar
  • 723
5 votes

How can I set the minimum edge length for a planar graph?

Not an answer but I want to point out that the requirements of OP might be impossible. For this planar graph if the largest edge length is 1 then the smallest edge ...
azerbajdzan's user avatar
  • 13.7k
4 votes

How can I set the minimum edge length for a planar graph?

This function will set the minimum edge length for an input graph to a particular value by rescaling all the coordinates: ...
Jason B.'s user avatar
  • 68k
4 votes

How can I construct and visualize a hypergraph?

For generating large ones (without many hyperedge overlaps) WolframModelPlot works well: ...
swish's user avatar
  • 7,791

Top 50 recent answers are included