Open yuanjie-ai opened 2 years ago
from rdflib import Graph from streamlit_agraph import TripleStore, agraph graph = Graph() graph.parse("http://www.w3.org/People/Berners-Lee/card") store = TripleStore() for subj, pred, obj in graph: store.add_triple(subj, pred, obj, "") agraph(list(store.getNodes()), list(store.getEdges()), config)
Thanks for that. I am aware and working on a fix. It's simply because the node id is already taken.
Currently not workin since update to agraph 2.0 - work in progress