diff --git a/changelog.md b/changelog.md index 5d1b6a7..4876b57 100644 --- a/changelog.md +++ b/changelog.md @@ -16,6 +16,7 @@ ## Improvements - Allow setting the theme manually in `VG.render(theme="light")` and `VG.render_widget(theme="dark")`. +- Use typed nodes and relationship traitlets in GraphWidget, i.e., list of Node and Relationship instead of dictionaries. - `render` now allows to pass `layout` as a string as well. Previously expected to be a typed `neo4j_viz.Layout`. ## Other changes diff --git a/examples/getting-started.ipynb b/examples/getting-started.ipynb index f206f9c..ee93f54 100644 --- a/examples/getting-started.ipynb +++ b/examples/getting-started.ipynb @@ -53,7 +53,7 @@ " Python (nvl.py) injects a \n", + " `,new Error(\"window.__NEO4J_VIZ_DATA__ is not defined\");const Zle={get(r){return pE[r]},on(){},off(){},set(){},save_changes(){}},gE=document.getElementById(\"neo4j-viz-ca4061323d2d\");if(!gE)throw new Error(\"Container element #neo4j-viz-ca4061323d2d not found\");gE.style.width=pE.width??\"100%\";gE.style.height=pE.height??\"100vh\";Kle.render({model:Zle,el:gE});\n", " \n", - " \n", + " \n", "\n", "
\n", - " \n", + " \n", " \n", "