Questions tagged [igraphm]
Questions related to the IGraph/M package for graph theory and network analysis.
24
questions
6
votes
1
answer
142
views
Layout improvements for planar graph
I recently used Cage software to generate a 24-vertex planar graph. All details of the graph are as follows, including the coordinates of each of its vertices. I know it is 3-connected.
...
2
votes
1
answer
49
views
IGFaces gives weird result
I'm using the IGraph/M package to perform some calculations on graphs. Specifically, I want to use IGFaces to determine how many edges/vertices each face has for ...
1
vote
2
answers
62
views
Converting Combinatorica graph to standard graph type
I'm trying to count triangles in random d-regular graphs. Combinatorica has a function RegularGraph, which gives me the random graph and IGraphM has a function <...
8
votes
1
answer
212
views
IGraphM on Apple Silicon?
I recently got a new laptop with Apple's M1 Max processor and now the IGraphM installer
...
2
votes
1
answer
84
views
How to get neighbor lists in the same order/orientation from a periodic IGTriangularLattice[] graph?
Using IGraphM, I want to get the VertexComponent[] neighbors around all nodes, in a periodic IGTriangularLattice[] graph. To do ...
2
votes
1
answer
60
views
IGMotifsVertexParticipation Problem
I have a directed acyclic graph with 194 vertices and 492 edges. I was able to get the 3-motifs without a problem. However, when I ran IGMotifsVertexParticipation I got an error message.
I ran the ...
0
votes
0
answers
37
views
IGraphM error creating a list of motifs using IGMotifs[]
A follow up from a previous question
Detecting patterns in a graph network
Thanks to @Szabolcs
...
4
votes
1
answer
121
views
IGraphM - Correct use of IGPersonalizedPageRank?
I'm using Szabolcs' IGraphM to calculate the personalized Page rank for each node in a graph. I was wondering about the 'reset' parameter, what exactly is it?
As I understand, the personalized Page ...
6
votes
1
answer
110
views
How to prevent IGraph/M from printing that annoying startup message?
When I load IGraph/M, it prints an annoying startup message. How can I avoid this?
1
vote
1
answer
389
views
Generating non isomorphic graphs
Is it possible to generate all non isomorphic graphs of given order (small) and size with Mathematica (and IGraph?)? I don’t immediately see how to do that, and if this is not possible without ...
0
votes
2
answers
71
views
Coloring individual edges of a multigraph each with its own color
Could someone tell me how to color two different edges between the same two vertices with a different color? The last time a related question was asked is 4 years ago, so I am wondering if the ...
1
vote
1
answer
73
views
Forced colorings with IGraph/M
Is it possible to force the colors of certain vertices in a graph so that the function which finds a minimum coloring will then extend the partial coloring with the fewest possible number of extra ...
1
vote
0
answers
100
views
Alternatives for chromatic number in graphs
The function IGChromaticNumber in IGraph works great, so well, that I have been able to check the chromatic number of graphs with max degree 12 with over a thousand vertices in a relatively short ...
2
votes
1
answer
72
views
Edge coloring of multigraphs with IGraph/M
Does the current implementation of IGMinimumEdgeColoring and IGChromaticIndex in IGraph/M work with multigraphs? I recall ...
4
votes
2
answers
78
views
Issue with displaying a tree graph after deleting a vertex
Say, I have an expression tree:
g = IGExpressionTree[ {{{1,2},{{3,4},{5,6}}},7}, VertexLabels -> "Name"]
From that tree I want to delete all the vertices ...
4
votes
2
answers
94
views
Adding edges to a TreeForm of an expression
Say I have an expression {1,{{2,3},4}}. It's TreeForm looks as follows:
{1,{{2,3},4}} //TreeForm
Now, on each level of that ...
0
votes
0
answers
106
views
Generating all possible subgraphs from an adjacency matrix
I have an adjacency matrix given by am. I want to generate all possible subgraphs with 6 nodes. Here is the code I am using to generate them.
But, I am getting some error:
...
5
votes
0
answers
106
views
Graph problem with IGraphM package
Consider the graph:
...
6
votes
1
answer
257
views
IGraph/M Library - ConfigurationModel
I am trying to reproduce a network generated by a configuration model given degree vector truncated power law distribution.
I am relying on the following function from the IGraph/M package for ...
6
votes
1
answer
79
views
Loading IGraphM on a Remote Cluster
I am trying to load IGraphM on a remote cluster at a university. I can load the program, then install the package, which is successful
I then run <<IGraphM, ...
7
votes
2
answers
575
views
Isomorphism of colored multigraphs
Recently I discovered for myself IGraphM package and find it really great!
<< IGraphM`
I am still learning its basic functionality. I need to verify ...
2
votes
2
answers
161
views
Demonstrate that graphs with different colors of vertices/edges are not isomorphic
I am asking explicitly about the IGraphM package. I do the following:
...
4
votes
1
answer
160
views
IGraph/M Documentation issue
When consulting the IGRaph/M documentation like this:
<< IGraphM`
IGDocumentation[]
I get this as an output:
...
30
votes
2
answers
2k
views
How can I conveniently call igraph from Mathematica?
Mathematica has lots of functions for working with graphs and networks, but there are still some functionality holes that are provided by other packages. Also, due to the nature of graph theory, ...