Graph Visualizer discontinued from V3+. What is the alternative?
There isnât.
Weâre about to start work on a new one. Weâll try to share a timeline soon.
If youâre familiar with jupyter notebooks, consider using/contributing. Thereâs a sample graph at the very bottom of this page:
https://github.com/krishnangovindraj/typedb-jupyter/blob/update-for-3.x/src/graphs.ipynb
Weâre planning to relaunch Graph Visualizer next month with a renewed focus on data exploration.
Whatâs your use case? Would be great to gather user feedback to drive the development roadmap
Thanks @krishnan. I tried using typedb-jupyter. But typedb-jupyter is compatible with typedb-client only. I am using typedb-driver as I want to use typedb-cloud. (TypeDB-Client is not supporting TypeDB-Cloud).
Can you suggest any solution for representing graph created to a VP?
With TypeDB-Jupyter and TypeDB-Driver, I am getting below error:
ImportError: cannot import name âTypeDBClientExceptionâ from âtypedb.common.exceptionâ (\site-packages\typedb\common\exception.py)
Thanks @alex, but I canât wait till next month.
To login in TypeDB Cloud using below statement, what should I do for:
- TLS enabled?
- certificate path
%typedb -d database name -a server address -u username -p password -c certificate path [-n connection alias]
If youâre interested in jupyter for 3.0.6, Could you clone and try this version please:
Make sure youâre on the update-for-3.x
branch
Hi @alex, great to hear it is coming back. For me the old visualiser really worked, it was not performant for huge systems but I could work around this. The sooner it is back the better. And @samarth.agarwal, thank you for insisting!
@acib Can you please share how you are able to access the old visualizer? While login Studio V2.x+, I am unable to sign-in neither using âadminâ credentials, nor using Studio login credentials.
In order to use Studio 2.x, you also need to connect to Server 2.x instances. If you use Community Edition (âCoreâ in 2.x), you are not required to pass the credentials.
@georgii I am using TypeDB Cloud. Which credentials I should provide?
@samarth.agarwal The temporary credentials shouldâve been shown on the TypeDB Cloud website after you created a cluster, and you are advised to change the password after the initial connection.
You can find the 2.x connection guide here
Ensure your cloud instance is a 2.x version as well.
@georgii & @krishnan : Appreciate for being with me. I am using typedb-studio-windows-x86_64-2.28.6. On entering username as âadminâ and password and cloud address.
I am getting below error:
[CNX02] TypeDB Connection: Failed to connect to TypeDB server with the provided address and credentials: â[CXN16] Attempted connecting to all TypeDB Cloud servers, but the following errors occurred:
[CXN13] Connection Error: Unable to connect to TypeDB server(s), received network error:
error trying to connect: tcp connect error: The requested address is not valid in its context. (os error 10049).â.
screenshot of login window:
I tried login using URI as well, but same error message. (P.S. I used same URI to connect on typedb-studio-windows-x86_64-3.0.5. I am able to connect, but it has no Visualizer)
@georgii After following these steps, what different do I need to do to use Studio V2.x+ and access previous visualizer?
@krishnan : can you explain " update-for-3.x
branch"? I am on python and using python 3.12.9. Steps followed:
- Installed typedb-jupyter ipympl matplotlib ipywidgets
- from typedb_jupyter import typedb. Getting error:
ImportError: cannot import name âTypeDBClientExceptionâ from âtypedb.common.exceptionâ
Detailed here:
ImportError Traceback (most recent call last)
Cell In[47], line 1
----> 1 from typedb_jupyter import typedb
File Lib\site-packages\typedb_jupyter_init_.py:22
1 #
2 # Copyright (C) 2023 Vaticle
3 #
(âŚ) 19 # under the License.
20 #
â> 22 from .magic import TypeDBMagic, TypeQLMagic
25 def load_ipython_extension(ipython):
26 ipython.register_magics(TypeDBMagic)
File Lib\site-packages\typedb_jupyter\magic.py:27
25 from IPython.core.magic import Magics, cell_magic, line_magic, magics_class, needs_local_scope
26 from IPython.core.magic_arguments import argument, magic_arguments, parse_argstring
â> 27 from typedb.api.connection.credential import TypeDBCredential
28 from typedb.client import TypeDB
29 from typedb_jupyter.connection import Connection
File \Lib\site-packages\typedb\api\connection\credential.py:24
1 #
2 # Copyright (C) 2022 Vaticle
âŚ
â> 24 from typedb.common.exception import TypeDBClientException, CLUSTER_INVALID_ROOT_CA_PATH
27 class TypeDBCredential:
29 def init(self, username: str, password: str, tls_root_ca_path: str = None):
ImportError: cannot import name âTypeDBClientExceptionâ from âtypedb.common.exceptionâ
For the first question on using 2.x:
what different do I need to do to use Studio V2.x+ and access previous visualizer?
If 3.0.5 connected, it means your server is 3.x
2.x drivers including studio are not compatible with 3.x server.
This does mean you will have to use a 2.x server if you want visualisations, or find something other than studio to use with a 3.x server.
I suspect youâve got an old version of typedb-jupyter messing with your setup.
Could you uninstall it and reinstall it from the root of the repo?
pip uninstall typedb-jupyter
pip install .
from the root of the repository.
After that, please try to run the sample notebooks.
sorry, slow response - the old visualiser works only with version 2 for me, and not for a database and studio for version 3. Letâs see, the promised â1 monthâ for release of the new studio with visualising capabilities is now almost over
Hey there!
Yep, weâve been actively developing TypeDB Studio 3.0, which is a rebuild with web technologies. Weâll have a release candidate/alpha next week I believe, which will include some preliminary visualisation tools! Weâll be working on expanding those capabilities over time as well
Stay tuned!
ok nice - hopefully there will be a version available that can be installed locally