Questions tagged [igraphm]

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

Filter by
Sorted by
Tagged with
1 vote
0 answers
31 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. ...
3 votes
1 answer
63 views

Nearest neighbor graph corresponding to 3d sphere packing

I had used ...
  • 31
3 votes
1 answer
93 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. ...
2 votes
0 answers
57 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. ...
  • 1,495
6 votes
1 answer
150 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. ...
  • 1,495
2 votes
1 answer
53 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
70 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
8 votes
1 answer
246 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
92 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,583
2 votes
1 answer
61 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
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
4 votes
1 answer
133 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,583
6 votes
1 answer
111 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?
  • 231k
2 votes
1 answer
470 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 ...
  • 607
0 votes
2 answers
73 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 ...
  • 607
1 vote
1 answer
78 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 ...
  • 607
1 vote
0 answers
102 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 ...
  • 607
2 votes
1 answer
81 views

Edge coloring of multigraphs with IGraph/M

Does the current implementation of IGMinimumEdgeColoring and IGChromaticIndex in IGraph/M work with multigraphs? I recall ...
  • 607
4 votes
2 answers
87 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,274
4 votes
2 answers
95 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,274
1 vote
0 answers
120 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
109 views

Graph problem with IGraphM package

Consider the graph: ...
  • 1,009
6 votes
1 answer
304 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
85 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, ...
  • 1,619
7 votes
2 answers
603 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 ...
  • 17k
2 votes
2 answers
164 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: ...
  • 17k
4 votes
1 answer
169 views

IGraph/M Documentation issue

When consulting the IGRaph/M documentation like this: << IGraphM` IGDocumentation[] I get this as an output: ...
32 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, ...
  • 231k