Threadle is an open-source system, written in C#/.NET 10, for storing and analysing large, multilayer, mixed-mode and attributed networks. It has a command-line interface and clients for R and Python. It was developed within the Linköping-based research environment 'The Complete Network of Sweden' (Swedish Research Council, grant 2024-01861) and is installed on Statistics Sweden's microdata servers, where we use it for sociological research on full-population register networks. We built Threadle because existing tools such as igraph, NetworKit and graph-tool could not handle the structure of these data. In particular, much of register data is two-mode (bipartite): people linked through households, workplaces and schools. Existing tools must project such data into one-mode networks, whose size grows quadratically with the size of the groups. Threadle instead stores two-mode layers as hyperedges and analyses them as if they were projected, without building the projection. This always saves memory, often by orders of magnitude, and for many analyses it also saves time.
To introduce Threadle to the network-science community as a general alternative to existing software, I am writing an article for submission to Network Science (Cambridge University Press). The article will include benchmarks that compare Threadle with igraph, NetworKit and graph-tool on publicly available datasets: the FlyWire Drosophila connectome, the KONECT actor–movie network, a synthetic population of the state of Michigan (RTI 2010, no real persons), and a mixed-mode network of Swedish research output extracted from OpenAlex (with the names of actual researchers removed). The benchmarks measure memory use, loading time and the running time of standard analyses (connected components, PageRank, betweenness and closeness centrality, shortest paths, diameter, community detection), on one-mode networks of 10^5 to 10^8 edges and two-mode networks whose projections would reach 10^7 to 10^10 edges. They include parallel-scaling experiments (1 to 128 threads) and memory-limited runs that show which tool can hold which network within a given amount of memory.
The benchmark scripts (Python) are written and have been tested in a full pilot on a local and rather vintage Linux laptop, which is not suitable for the article's measurements: it has two cores, throttles under load and cannot run the larger networks. NetworKit and graph-tool do not run natively on Windows, so a Linux system is needed for a fair comparison. I therefore apply for a stable Linux environment with desktop-sized jobs and a few short exclusive whole-node jobs, which avoid interference from other jobs in the timing measurements.