# Questions tagged [igraphm]

Questions related to the IGraph/M package for graph theory and network analysis.

31 questions
Filter by
Sorted by
Tagged with
57 views

### Discrepancy between IGEigenvectorCentrality and EigenvectorCentrality in Mathematica

I've been experimenting with directed graphs in Mathematica and I'm having some difficulty understanding the differences between IGEigenvectorCentrality and ...
• 155
1 vote
46 views

### Calculating betweenness centrality using two or more edge weights?

I recently became interested in complexity science through a project I'm working on, so I wondered whether one could calculate the Betweenness Centrality using two or more edge weights concurrently. I ...
• 155
295 views

### Solving the Covering Salesman Problem in Mathematica

Say I have a weighted graph ...
• 4,272
1 vote
38 views

### IGraphM does not load on first run

I am using IGraphM to calculate some centralities in the project. But the IGraphM package never loads on the first run. The following statements I used to load the package. ...
92 views

• 41
111 views

### calculating different centralities for a network

I am new to mathematica. I have an adjacency matrix as shown below. I need to calculate various centralities for this matrix. But there is some strange error that I cannot understand. ...
62 views

### Is it possible for IGGraphEditor to change the curvature of a straight edge by dragging and dropping?

Cross-posted at GitHub. IGraphM 0.6 includes IGGraphEditor[], which allows manipulating small graphs interactively. ...
• 2,005
162 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,005
55 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
77 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 <...
• 21
256 views

### IGraphM on Apple Silicon?

I recently got a new laptop with Apple's M1 Max processor and now the IGraphM installer ...
99 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 ...
• 1,593
62 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 ...
39 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 ...
• 984
140 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 ...
• 1,593
118 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?
• 233k
565 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 ...
• 637
1 vote
79 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 ...
• 637
1 vote
84 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 ...
• 637
1 vote
111 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 ...
• 637
96 views

### Edge coloring of multigraphs with IGraph/M

Does the current implementation of IGMinimumEdgeColoring and IGChromaticIndex in IGraph/M work with multigraphs? I recall ...
• 637
96 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 ...
• 1,294
99 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 ...
• 1,294
1 vote
128 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: ...
• 565
112 views

### Graph problem with IGraphM package

Consider the graph: ...
• 1,019
346 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 ...
86 views

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, ...
• 2,027
647 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 ...
• 17.8k
167 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: ...
• 17.8k