# Latest

**URL:** https://forum.skewed.de/latest.md

[Latest](https://forum.skewed.de/latest.md) · [Categories](https://forum.skewed.de/categories.md) · [Tags](https://forum.skewed.de/tags.md)

---

## [What's new in version 4.1?](https://forum.skewed.de/t/whats-new-in-version-4-1/2618)

<div class="topic-metadata">

**Author:** [@dawe](https://forum.skewed.de/u/dawe)\
**Replies:** 1\
**Last updated:** [December 2, 2026, 1:02pm UTC](https://forum.skewed.de/t/whats-new-in-version-4-1/2618 "2026-12-02T13:02:55Z")

</div>

Hello, I’ve just noticed a new graph-tool version is out (4.1). I’m lost reading the changelog on gitlab, I assume it is more than bugfixes (v3 =\> v4, after all), would it be possible to know which new functions/capabili…

---

## [What is new in graph-tool 4.1](https://forum.skewed.de/t/what-is-new-in-graph-tool-4-1/2619)

<div class="topic-metadata">

**Author:** [@tiago](https://forum.skewed.de/u/tiago)\
**Replies:** 0\
**Last updated:** [December 2, 2026, 1:02pm UTC](https://forum.skewed.de/t/what-is-new-in-graph-tool-4-1/2619 "2026-12-02T13:02:01Z")

</div>

What is new in graph-tool 4.1 Version 4.1 of graph-tool is now available. Here we summarize what changed between 3.10 and 4.1. Most of these changes came with version 4.0, which was a major release that extended almost e…

---

## [Performance with property map](https://forum.skewed.de/t/performance-with-property-map/412)

<div class="topic-metadata">

**Author:** [@Flavien\_Lambert](https://forum.skewed.de/u/Flavien_Lambert)\
**Replies:** 13\
**Last updated:** [November 27, 2026, 4:11am UTC](https://forum.skewed.de/t/performance-with-property-map/412 "2026-11-27T04:11:43Z")

</div>

Hi everyone, to compute some functions I needed to loop over a bunch of edges. I realized that the call to property maps seems slow compare to a dictionary. I am a bit surprised since I was told - I am not an expert in …

---

## [Compiled binaries are kinda HUGE](https://forum.skewed.de/t/compiled-binaries-are-kinda-huge/1559)

<div class="topic-metadata">

**Author:** [@jeb](https://forum.skewed.de/u/jeb)\
**Replies:** 16\
**Last updated:** [November 26, 2026, 5:54pm UTC](https://forum.skewed.de/t/compiled-binaries-are-kinda-huge/1559 "2026-11-26T17:54:52Z")

</div>

Hello, I just compiled graph-tool from source, it took a while but it worked (besides an conflict between Gtk 3 and 4, but that’s for another story). But I found the binary library are really huge… Some examples: inf…

---

## [Layered networks and bins](https://forum.skewed.de/t/layered-networks-and-bins/2614)

<div class="topic-metadata">

**Author:** [@dawe](https://forum.skewed.de/u/dawe)\
**Replies:** 0\
**Last updated:** [October 30, 2026, 4:42pm UTC](https://forum.skewed.de/t/layered-networks-and-bins/2614 "2026-10-30T16:42:09Z")

</div>

Hello, trivial question here. I have collected data that could be organized as a layered network. In the paper (2015 on layered networks) it is said that multiple C layers could be binned into M bins. Does it simply tra…

---

## [max\_cardinality\_matching heuristic](https://forum.skewed.de/t/max-cardinality-matching-heuristic/220)

<div class="topic-metadata">

**Author:** [@Daniel\_Mullner](https://forum.skewed.de/u/Daniel_Mullner)\
**Replies:** 4\
**Last updated:** [October 20, 2026, 1:22pm UTC](https://forum.skewed.de/t/max-cardinality-matching-heuristic/220 "2026-10-20T13:22:03Z")

</div>

Hi all, in which sense is the algorithm in graph\_tool.topology.max\_cardinality\_matching with the heuristic=True switch a heuristic and not exact? As I understand, it might not return a maximum-cardinality matching ev…

---

## [Is GLIBC 2.38 necessary?](https://forum.skewed.de/t/is-glibc-2-38-necessary/2603)

<div class="topic-metadata">

**Author:** [@dawe](https://forum.skewed.de/u/dawe)\
**Replies:** 4\
**Last updated:** [October 10, 2026, 2:12pm UTC](https://forum.skewed.de/t/is-glibc-2-38-necessary/2603 "2026-10-10T14:12:24Z")

</div>

Hello, I just installed gt version 3.5 (from conda), our cluster is running on Rocky Linux 9 (which I understand is a flavour of CentOS) and I noticed I’m not able to run latest graph-tool version due to missing GLIBC ve…

---

## [BlockState and WeightedBlockState](https://forum.skewed.de/t/blockstate-and-weightedblockstate/2602)

<div class="topic-metadata">

**Author:** [@dawe](https://forum.skewed.de/u/dawe)\
**Replies:** 1\
**Last updated:** [July 29, 2026, 11:07am UTC](https://forum.skewed.de/t/blockstate-and-weightedblockstate/2602 "2026-07-29T11:07:57Z")

</div>

Hello, just a curiosity: after the latest major graph-tool update, I see the new class WeightedBlockState to be used in place of BlockState when edge covariates are used. What are the motivations for this choice (except …

---

## [Feature request: current-flow / random walk betweenness centrality](https://forum.skewed.de/t/feature-request-current-flow-random-walk-betweenness-centrality/2600)

<div class="topic-metadata">

**Author:** [@sjw](https://forum.skewed.de/u/sjw)\
**Replies:** 0\
**Last updated:** [June 10, 2026, 11:24pm UTC](https://forum.skewed.de/t/feature-request-current-flow-random-walk-betweenness-centrality/2600 "2026-06-10T23:24:34Z")

</div>

If I understand correctly, the current betweenness centrality is shortest-path. Where can I find current-flow (or random-walk) betweenness, if there is one? If there isn’t one, how can one implement it (if you could poin…

---

## [Ubuntu installation: failed to fetch packages](https://forum.skewed.de/t/ubuntu-installation-failed-to-fetch-packages/1425)

<div class="topic-metadata">

**Author:** [@muzz-yasir](https://forum.skewed.de/u/muzz-yasir)\
**Replies:** 14\
**Last updated:** [June 3, 2026, 10:54am UTC](https://forum.skewed.de/t/ubuntu-installation-failed-to-fetch-packages/1425 "2026-06-03T10:54:41Z")

</div>

Installing python-3-graph-tool inside this docker file following the Debian/Ubuntu installation instructions. Met with the following error during the docker build, as of 2023-03-22T00:00:00Z (UTC): #6 35.56 Err:7 http:…

---

## [Higher-order needs higher standards – Inverse Complexity Lab](https://forum.skewed.de/t/higher-order-needs-higher-standards-inverse-complexity-lab/2584)

<div class="topic-metadata">

**Author:** [@tiago](https://forum.skewed.de/u/tiago)\
**Replies:** 4\
**Last updated:** [April 13, 2026, 7:50pm UTC](https://forum.skewed.de/t/higher-order-needs-higher-standards-inverse-complexity-lab/2584 "2026-04-13T19:50:58Z")

</div>

If you reply to this post, it will show as a comment below the original article.

---

## [\`local\_clustering\` versus \`extended\_clustering\` on directed graphs](https://forum.skewed.de/t/local-clustering-versus-extended-clustering-on-directed-graphs/2589)

<div class="topic-metadata">

**Author:** [@leostimpfle](https://forum.skewed.de/u/leostimpfle)\
**Replies:** 3\
**Last updated:** [April 12, 2026, 5:53pm UTC](https://forum.skewed.de/t/local-clustering-versus-extended-clustering-on-directed-graphs/2589 "2026-04-12T17:53:09Z")

</div>

On graph-tool version 2.98extended\_clustering of degree 1 does not match local\_clustering for a directed graph even when specifying undirected=True. Is this expected or a bug? import graph\_tool.all as gt import numpy as…

---

## [Triangulated graph can be drawn separately, but not on a subplot with gt.graph\_draw's mplfig](https://forum.skewed.de/t/triangulated-graph-can-be-drawn-separately-but-not-on-a-subplot-with-gt-graph-draws-mplfig/2587)

<div class="topic-metadata">

**Author:** [@52556427](https://forum.skewed.de/u/52556427)\
**Replies:** 1\
**Last updated:** [March 29, 2026, 5:30pm UTC](https://forum.skewed.de/t/triangulated-graph-can-be-drawn-separately-but-not-on-a-subplot-with-gt-graph-draws-mplfig/2587 "2026-03-29T17:30:10Z")

</div>

graph-tool 2.98, CachyOS Linux Plotting a graph generated with gt.triangulation() separately works as expected, but trying to plot it on a subplot gives an error. Should this behaviour be expected? Should the triangulat…

---

## [Removing vertices but keeping old indices or other unique identifer for vertices?](https://forum.skewed.de/t/removing-vertices-but-keeping-old-indices-or-other-unique-identifer-for-vertices/2588)

<div class="topic-metadata">

**Author:** [@52556427](https://forum.skewed.de/u/52556427)\
**Replies:** 1\
**Last updated:** [March 29, 2026, 5:28pm UTC](https://forum.skewed.de/t/removing-vertices-but-keeping-old-indices-or-other-unique-identifer-for-vertices/2588 "2026-03-29T17:28:43Z")

</div>

graph-tool 2.98, CachyOS Linux I am trying to find all triangles in a planar graph using Chiba and Nishizeki’s algorithm (https://doi.org/10.1137/0214017). This involves lists of neighbours of vertices and iterative rem…

---

## [Using matplotlib subplots and gt.graph\_draw's mplfig, graph is drawn modified before it is modified by code?](https://forum.skewed.de/t/using-matplotlib-subplots-and-gt-graph-draws-mplfig-graph-is-drawn-modified-before-it-is-modified-by-code/2586)

<div class="topic-metadata">

**Author:** [@52556427](https://forum.skewed.de/u/52556427)\
**Replies:** 1\
**Last updated:** [March 29, 2026, 5:27pm UTC](https://forum.skewed.de/t/using-matplotlib-subplots-and-gt-graph-draws-mplfig-graph-is-drawn-modified-before-it-is-modified-by-code/2586 "2026-03-29T17:27:24Z")

</div>

graph-tool 2.98, CachyOS Linux Plotting a graph and the graph made maximally planar separately works as expected. But when I try to plot them besides each other on subplots, the original graph appears maximally planar b…

---

## [Description Length of War and Peace](https://forum.skewed.de/t/description-length-of-war-and-peace/2585)

<div class="topic-metadata">

**Author:** [@aal](https://forum.skewed.de/u/aal)\
**Replies:** 1\
**Last updated:** [March 9, 2026, 10:23pm UTC](https://forum.skewed.de/t/description-length-of-war-and-peace/2585 "2026-03-09T22:23:38Z")

</div>

Hi all, I read this paper: “Modelling sequences and temporal networks with dynamic community structures“ Peixoto et al. 2014 Nature Communications. Code availability. A free C++ implementation of the inference algorith…

---

## [Visualization issues related to hierarchical division](https://forum.skewed.de/t/visualization-issues-related-to-hierarchical-division/2579)

<div class="topic-metadata">

**Author:** [@zhanxiang\_chen](https://forum.skewed.de/u/zhanxiang_chen)\
**Replies:** 1\
**Last updated:** [December 23, 2025, 5:37pm UTC](https://forum.skewed.de/t/visualization-issues-related-to-hierarchical-division/2579 "2025-12-23T17:37:30Z")

</div>

Dear Professor Tiago P. Peixoto Hello, I’m encountering a problem in part of Inferring modular network structure. Specifically, how can I transform Figure 1 into a visualization method similar to Figure 2? figure 1. …

---

## [Aligning partition modes](https://forum.skewed.de/t/aligning-partition-modes/2573)

<div class="topic-metadata">

**Author:** [@Srinivas\_Govinda\_Sur](https://forum.skewed.de/u/Srinivas_Govinda_Sur)\
**Replies:** 2\
**Last updated:** [December 9, 2025, 7:21pm UTC](https://forum.skewed.de/t/aligning-partition-modes/2573 "2025-12-09T19:21:49Z")

</div>

Hi Prof. Peixoto, OS: ubuntu 22 Graph-tool version: 2.98 My question is the following: We can find partition-modes from an ensemble of partitions by aligning community labels and then clustering the aligned partition…

---

## [Force minimize\_nested\_blockmodel\_dl to find a specific number of blocks](https://forum.skewed.de/t/force-minimize-nested-blockmodel-dl-to-find-a-specific-number-of-blocks/2567)

<div class="topic-metadata">

**Author:** [@vltanh](https://forum.skewed.de/u/vltanh)\
**Replies:** 1\
**Last updated:** [November 25, 2025, 12:24pm UTC](https://forum.skewed.de/t/force-minimize-nested-blockmodel-dl-to-find-a-specific-number-of-blocks/2567 "2025-11-25T12:24:15Z")

</div>

I am aware that for minimize\_blockmodel\_dl, one can specify B\_min and B\_max to a specific number, i.e., gt.minimize\_blockmodel\_dl(g, state=gt.BlockState, multilevel\_mcmc\_args=dict(B\_min=n\_blocks, B\_max=n\_blocks)) will …

---

## [Changing default colors](https://forum.skewed.de/t/changing-default-colors/2568)

<div class="topic-metadata">

**Author:** [@Srinivas\_Govinda\_Sur](https://forum.skewed.de/u/Srinivas_Govinda_Sur)\
**Replies:** 1\
**Last updated:** [November 25, 2025, 12:22pm UTC](https://forum.skewed.de/t/changing-default-colors/2568 "2025-11-25T12:22:33Z")

</div>

Hi Prof. Peixoto, gt version: 2.98 os: ubuntu22 python: 3.13 Question: can we change the default colors list to a user specified one while drawing a BlockState() for instance? MWE: import numpy as np from scipy i…

---

## [Inconsistent sfdp\_layout results between single-thread and multi-threaded](https://forum.skewed.de/t/inconsistent-sfdp-layout-results-between-single-thread-and-multi-threaded/2570)

<div class="topic-metadata">

**Author:** [@eyalp](https://forum.skewed.de/u/eyalp)\
**Replies:** 2\
**Last updated:** [November 25, 2025, 12:19pm UTC](https://forum.skewed.de/t/inconsistent-sfdp-layout-results-between-single-thread-and-multi-threaded/2570 "2025-11-25T12:19:42Z")

</div>

Hi, thanks for this great library! I’ve run into a peculiar behavior with sfdp\_layout. I’m seeing very different results when running it single-threaded vs. multithreaded. I tested this on both v2.97 and v2.98 (conda-fo…

---

## [Directed graph from reconstruction with PseudoNormalBlockState base](https://forum.skewed.de/t/directed-graph-from-reconstruction-with-pseudonormalblockstate-base/2571)

<div class="topic-metadata">

**Author:** [@Georgii\_Dolgalev](https://forum.skewed.de/u/Georgii_Dolgalev)\
**Replies:** 1\
**Last updated:** [November 24, 2025, 10:42pm UTC](https://forum.skewed.de/t/directed-graph-from-reconstruction-with-pseudonormalblockstate-base/2571 "2025-11-24T22:42:28Z")

</div>

Why does the PseudoNormalBlockState not allow to reconstruct directed graphs, while its base class BPBlockStateBase does? In the code, the parameter is explicitly set to False during initialization (https://graph-tool.s…

---

## [Memory required for Nested + Layered blockstate](https://forum.skewed.de/t/memory-required-for-nested-layered-blockstate/2569)

<div class="topic-metadata">

**Author:** [@dawe](https://forum.skewed.de/u/dawe)\
**Replies:** 0\
**Last updated:** [October 17, 2025, 1:27pm UTC](https://forum.skewed.de/t/memory-required-for-nested-layered-blockstate/2569 "2025-10-17T13:27:38Z")

</div>

Hello, I am working with layered graphs and want to minimize a NestedBlockState on them gt.NestedBlockState(g=g, base\_type=gt.LayeredBlockState, state\_args=dict(deg\_corr=deg\_corr, ec=union\_g.ep.layer, layers=True, ov…

---

## [Upstream apt repository "public key is not available: NO\_PUBKEY"](https://forum.skewed.de/t/upstream-apt-repository-public-key-is-not-available-no-pubkey/2528)

<div class="topic-metadata">

**Author:** [@Ujifman](https://forum.skewed.de/u/Ujifman)\
**Replies:** 8\
**Last updated:** [September 2, 2025, 3:19pm UTC](https://forum.skewed.de/t/upstream-apt-repository-public-key-is-not-available-no-pubkey/2528 "2025-09-02T15:19:24Z")

</div>

Hello, I’ve got The following signatures couldn't be verified because the public key is not available: NO\_PUBKEY 2B803E92481EBD09 I suppose some keys changed, but not published. I’m following exact instructions for us…

---

## [Is Bayesian inference subjective? – Inverse Complexity Lab](https://forum.skewed.de/t/is-bayesian-inference-subjective-inverse-complexity-lab/2562)

<div class="topic-metadata">

**Author:** [@tiago](https://forum.skewed.de/u/tiago)\
**Replies:** 0\
**Last updated:** [September 1, 2025, 7:36pm UTC](https://forum.skewed.de/t/is-bayesian-inference-subjective-inverse-complexity-lab/2562 "2025-09-01T19:36:28Z")

</div>

If you reply to this post, it will show as a comment below the original article.

---

## [Ordered community structure nested within assortative community structure](https://forum.skewed.de/t/ordered-community-structure-nested-within-assortative-community-structure/2522)

<div class="topic-metadata">

**Author:** [@dstrbr](https://forum.skewed.de/u/dstrbr)\
**Replies:** 5\
**Last updated:** [August 25, 2025, 4:39pm UTC](https://forum.skewed.de/t/ordered-community-structure-nested-within-assortative-community-structure/2522 "2025-08-25T16:39:11Z")

</div>

Hello! I would like to estimate an SBM-type model that has the following features: A top layer that is assortative, i.e. blocks that are relatively self-contained A bottom layer that is ordered within the top-level bl…

---

## [Is there a way to force the output of minimize\_blockmodel\_dl to be a certain number of blocks?](https://forum.skewed.de/t/is-there-a-way-to-force-the-output-of-minimize-blockmodel-dl-to-be-a-certain-number-of-blocks/2502)

<div class="topic-metadata">

**Author:** [@CD12345](https://forum.skewed.de/u/CD12345)\
**Replies:** 1\
**Last updated:** [August 22, 2025, 6:39pm UTC](https://forum.skewed.de/t/is-there-a-way-to-force-the-output-of-minimize-blockmodel-dl-to-be-a-certain-number-of-blocks/2502 "2025-08-22T18:39:42Z")

</div>

Hi there, I was wondering if there was a way to force the output of the minimize\_blockmodel\_dl to have a specific number of blocks. Using B=n in the state\_args does not seem to work, as the output does not end up being …

---

## [Question about normalized RMI](https://forum.skewed.de/t/question-about-normalized-rmi/2503)

<div class="topic-metadata">

**Author:** [@minpark815](https://forum.skewed.de/u/minpark815)\
**Replies:** 1\
**Last updated:** [August 21, 2025, 1:48pm UTC](https://forum.skewed.de/t/question-about-normalized-rmi/2503 "2025-08-21T13:48:21Z")

</div>

Hello Professor Peixoto, I was wondering whether it is ok for normalized RMI values to be much greater than 1. I am using this function with the norm=True flag. graph\_tool.inference.reduced\_mutual\_information(x, y, norm…

---

## [Community detection with signed edges](https://forum.skewed.de/t/community-detection-with-signed-edges/2511)

<div class="topic-metadata">

**Author:** [@badatmath](https://forum.skewed.de/u/badatmath)\
**Replies:** 2\
**Last updated:** [July 30, 2025, 3:12pm UTC](https://forum.skewed.de/t/community-detection-with-signed-edges/2511 "2025-07-30T15:12:52Z")

</div>

I am trying to follow the documentation for doing community detection on networks with edge covariates. Currently my edges have values -1, 0, or +1 representing mutual sentiment between nodes. -1 being negative, 0 neutra…

---

## [Problem with vertex masking](https://forum.skewed.de/t/problem-with-vertex-masking/2508)

<div class="topic-metadata">

**Author:** [@justin.kueser](https://forum.skewed.de/u/justin.kueser)\
**Replies:** 3\
**Last updated:** [July 30, 2025, 3:10pm UTC](https://forum.skewed.de/t/problem-with-vertex-masking/2508 "2025-07-30T15:10:12Z")

</div>

Hello: Posting this here because I am having difficulty logging into the gitlab page to make a bug report. The error is: After a vertex mask #1 is applied to a graph, and then the filters are cleared, and then a new ve…

[Next page](https://forum.skewed.de/latest.md?page=1)
