graph-tool Questions

4

Solved

How should I create a graph using graph-tool in python, out of an adjacency matrix? Assume we have adj matrix as the adjacency matrix. What I do now is like this: g = graph_tool.Graph(directed =...
Loupe asked 25/4, 2014 at 9:2

1

I am very new to graph visualizations and software like graph-tool (gt). My main field is mathematics, but I am somewhat familiar with Python and programming in general. However, I'm not a programm...
Amandine asked 5/2, 2021 at 10:58

14

Can anyone recommend a Python library that can do interactive graph visualization? I specifically want something like d3.js but for python and ideally it would be 3D as well. I have looked at: ...
Gurge asked 19/10, 2012 at 15:26

1

Solved

I am trying to create large graph via graph-tool library (near 10^6 - 10^7 vertices) and fill vertex property with vertex name or use names instead of vertex indexes. I have: list of names: ['50...
Emmieemmit asked 8/5, 2019 at 12:17

3

I tried to use Homebrew to install graph-tool, but the python3 cannot find it. brew tap homebrew/science brew install graph-tool It is said that the package is installed in homebrew/science/gr...
Cryogen asked 20/4, 2017 at 14:2

2

Solved

I'm trying to install graph-tool for Anaconda Python 3.5 on Ubuntu 14.04 (x64), but it turns out that's a real trick. I tried this approach, but run into the problem: The following specifications...
Morgun asked 29/7, 2016 at 8:11

1

Solved

I find graph-tool documentation extremely obscure and much more cryptic than other analogous libraries. I really can't figure out how to "extract" components (aka connected components) from a grap...
Brimful asked 23/1, 2017 at 16:37

1

I am using Anaconda as my main python distribution (though also have the system's default python installed) so have to compile graph-tool from source to get it to work with Anaconda. I am using U...
Pantin asked 22/6, 2016 at 16:29

1

Solved

Very briefly, two-three basic questions about the minimize_nested_blockmodel_dl function in graph-tool library. Is there a way to figure out which vertex falls onto which block? In other words, to ...
Sellingplater asked 21/6, 2016 at 12:47

1

Solved

This is a ridiculously basic question about graph-tool which should be trivial to figure out how to solve using the documentation, but I'm spinning in circles. I don't doubt that documentation comp...
Kingcup asked 5/5, 2016 at 23:4

1

Solved

After looking at the impressive performance comparison, I decided that I would give a try to graph-tool. So for comparison, I wrote codes to generate a random tree using both packages. The graph-...
Photokinesis asked 24/3, 2016 at 5:24

1

Solved

I'm using the graph-tool, and I can't find a way to define weights for the edges. How do I add edge weights to my graph? Additionally, I would like that when I use graph_draw, the graph will be pl...
Irrelative asked 19/3, 2015 at 18:16

1

I am using Python 2.7 and am trying to import graph_tool, and it seems that my libboost_thread-mt.dylib is located in /opt/local/lib rather than /usr/local/lib. If I start an X11 terminal and typ...
Fraternal asked 25/7, 2014 at 19:39

2

Solved

How does one remove positive infinity numbers from a numpy array once these are already converted into a number format? I am using a package which uses numpy internally, however when returning cert...
Milburn asked 6/7, 2014 at 19:36

1

Solved

I am using python graph-tool. To draw graphs, it uses graph_draw function. I want to send vertex positions explicitly to dot engine. It turns out that I can pass a property map named pos. I tried d...
Ulberto asked 9/10, 2011 at 14:42

1

I would like to store instances of a class in a graph-tool graph, one object per node (or 'vertex' as graph-tool calls them). I am trying to use a vertex property as that seems to the be the way to...
Nitrate asked 2/3, 2012 at 1:34
1

© 2022 - 2024 — McMap. All rights reserved.