Fabian Schwarzkopf
Fabian Schwarzkopf
FWIW, you could export mermaid diagrams to SVG and pipe it through [svg2roughjs](https://github.com/fskpf/svg2roughjs). This should yield decent results, albeit `foreignObject`s within the SVGs won't be sketched but just copied over...
I'm not able to reproduce this. Running your notebook shows this widget for me:  What usually happens is that the data is loaded from the given source, then a...
I think that the output SVG should mimic the behavior of the input SVG. So if the input uses a viewBox with percentage width/height, then the output should do the...
Another tool to create an interactive visualization in Jupyter Notebooks is [yfiles-jupyter-graphs](https://github.com/yWorks/yfiles-jupyter-graphs/). Just pass a list of nodes and relationships and, optionally, map some data to visualization properties (color, size,...
Sure. In this case, I've used the parquets of the [local_search.ipynb](https://github.com/microsoft/graphrag/blob/main/examples_notebooks/local_search.ipynb): ```python relationship_df = pd.read_parquet(f"{INPUT_DIR}/{RELATIONSHIP_TABLE}.parquet") entity_df = pd.read_parquet(f"{INPUT_DIR}/{ENTITY_TABLE}.parquet") # [....] show_graph(entity_df, relationship_df) ``` Here is the modified `local_search.ipynb` sample notebook:...
Although a bit off-topic, `yfiles-jupyter-graphs` can visualize to Neo4j databases (see this [sample notebook](https://colab.research.google.com/github/yWorks/yfiles-jupyter-graphs/blob/main/examples/16_neo4j_import.ipynb)). That said, there is also [`yfiles-jupyter-graphs-for-neo4j`](https://github.com/yWorks/yfiles-jupyter-graphs-for-neo4j) which is an open-source wrapper for the extension that provides...
@misi0202 regarding your initial question about how to visualize the nodes and relationships: See [graph-visualization.ipynb](https://github.com/microsoft/graphrag/blob/main/examples_notebooks/community/yfiles-jupyter-graphs/graph-visualization.ipynb) from the merged PR #569, it embeds an interactive graph visualization of the parquet files...