-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Graph widget not working #171
Comments
Do you have any log from the server side too? or, can tou provide scripts to create a sample db of your data? |
Hello ! The search typed request is
Nothing particular in the backend end log:
The front end properly receives a result from the search call:
The response from this call is:
This seems to be a front end issue ? |
Hi again ! |
The metadata provider for Gremlin is here: We developed and tested on small databases. How big is your db? |
Hi My graph is not very big.. The order of magnitude is 100k vertices and edges. Quickly looking at your code, it seems to me that the count methods on the node and edge counts might take longer, as it requires traversing the whole graph. Could the counts be done asynchronously and update the meta when or if the result arrives? Also I think the functions mapNodeClasses and mapEdgeClasses may take a while, again because of traversing the whole graph. Maybe looking at the management Api might be relevant for getting the labels. |
Here for the management Api : https://stackoverflow.com/a/49404838/7634184 |
Thanks for pointing us to that. This implies to write a dedicated MetadataProvider for Janus that uses the custom api. |
Actually this may be a generic issue related to gremlin servers, see for instance https://stackoverflow.com/a/48946734/7634184 The frustrating point is that the view won't work without the Metadata. It would be nice if (part) of the widget could be used without completion of the Metadata call.. I'm thinking for instance to the custom query widget, that doesn't really need the Metadata to run.. |
I'm trying to get the app-single.yml docker instance to work here - only modifications being advertising the host ip address and specifying the arcadeanalytics docker image to use (:latest, :1.0.1 and 馃憤 1.0.3 tested)
The web app seems to be working fine and I can create, access and successfully index a remote JanusGraph (tiny one with ~200K vertices and ~400K edges) over Gremlin. However - if I try to add a graph widget I'm not seeing any classes/labels for my graph listed. None of the left-side menu items seems to be working but the Query one, and making a query I can see it actioned on the JanusGraph side and in the arcadeanalytics console.
Lastly - In the dev console of Chrome I get loads of these messages "ERROR TypeError: Cannot read property 'nodesClasses' of undefined"
Any idea how to fix this?
The text was updated successfully, but these errors were encountered: