Graphegon / pygraphblas

GraphBLAS for Python
https://graphegon.github.io/pygraphblas/pygraphblas/index.html
Apache License 2.0
343 stars 27 forks source link

`pygraphblas.gviz.draw` does not draw most nodes #101

Open bsbodden opened 2 years ago

bsbodden commented 2 years ago

Running the docker image on a Mac as docker run -it -p 8888:8888 graphblas/pygraphblas-notebook on notebooks/Intro-Prez.ipynb I see:

GraphBLAS-py-01

and in notebooks/Introduction-to-GraphBLAS-with-Python.ipynb I see:

GraphBLAS-py-02
bsbodden commented 2 years ago

FYI, if I change the code to use the underlying draw_graph function:

A = Matrix.from_lists(
    [0, 0, 1, 3, 3, 3, 5, 4, 1, 5],
    [1, 3, 2, 1, 4, 5, 0, 2, 5, 4], 
    [3, 8, 5, 9, 1, 6, 3, 6, 9, 8])

#draw(A)  # talk about from_binary, from_mm, from_tsv, from_arrays, from_scipy_sparse
ioff = A.nrows
joff = A.ncols
draw_graph(A, name="A", ioff=ioff, joff=joff)

The graph nodes display just fine.