I am trying to compute a weight for each relation, that I call "Exclusivity".
Given that the graph has typed edges (with the type of edges stored as an
int in the property map label_id), the Exclusivity of an edge is computed as
1 / (number of all edges of same type outgoing from the source node +
`graph_draw` accepts either a file name or a file object. I would investigate
passing a BytesIO (https://docs.python.org/3/library/io.html#io.BytesIO) object
to the `output` parameter of `graph_draw` (instead of a filename).
You can then read from the BytesIO object (for instance, to a numpy ar
Hi all,
I'm currently drawing a graph snapshot to an image file, then loading it
back in and writing that image to a video with OpenCV. This I/O process is
a big bottleneck. Does anyone know a faster way to do this? Are there ways
in graph-tool to speed this up or skip the I/O alltogether?
- Lex