New answers tagged graphs-and-networks
2
votes
2
votes
4
votes
How to use Callout in a directed graph with circular embedding?
1.
Just use VertexLabels -> {v_ :> Placed[v /. vRule, "Circular"]} and a large value for ImageSize:
...
6
votes
Accepted
How to use Callout in a directed graph with circular embedding?
First, two functions to be used as option settings for EdgeShapeFunction and VertexShapeFunction:
...
4
votes
3
votes
Accepted
3
votes
3
votes
Accepted
How to map community structure with circular embedding and normalized edge weights?
Start from drawing graph based on community.
Compute vertex coordinates:
ccoord =
CirclePoints[{1, 0},
21][[Ordering[VertexIndex[g, Flatten[community]]]]];
...
3
votes
How to find a longest word path in dictionary?
I can't say that I know the combinatorics for this. Inspired by the thoughtful answer written by David G. Stork, here are some heuristic observations. Perhaps someone can write an authoritative answer ...
6
votes
Accepted
Discrepancy between `IGEigenvectorCentrality` and `EigenvectorCentrality` in Mathematica
There is no discrepancy. Eigenvector centrality is an eigenvector, thus it is defined only up to a constant factor.
...
1
vote
Accepted
How can one convert between mtx format and graph format?
I assume we're working with adjacency matrices that you want to import or export in MTX format, and the goal is to create an adjacency matrix from a ...
0
votes
NetGraph won't accept EmbeddingLayers of different n
Each element in a vector used in a neural network must be of the same type.
In the NetGraph of your first example, your first EmbeddingLayer takes in input of type Restricted["Integer",2] (...
6
votes
Accepted
Find a maximum $k$-colorable subgraph
Implementing David G. Stork's comment, this produces a graphic of all the maximal subgraphs that can be colored with $k$ colors. This is pretty rough and will probably get very slow for large vertex ...
Top 50 recent answers are included
Related Tags
graphs-and-networks × 2116graphics × 219
plotting × 134
list-manipulation × 93
visualization × 87
performance-tuning × 86
bugs × 77
combinatorics × 77
matrix × 69
labeling × 56
trees × 55
algorithm × 48
image-processing × 42
mathematical-optimization × 38
programming × 33
graphics3d × 30
import × 30
random × 30
code-request × 30
computational-geometry × 29
functions × 28
color × 28
igraphm × 28
combinatorica × 26
style × 25