Comments (10)
@canbax Thank you so much, I got it
from davraz.
where do you get the error? Is it during ˋnpm installˋ?
I moved proxy server to a separate project. Soryy I will change readme.
https://github.com/canbax/tiger-api
from davraz.
yes I am facing while doing npm install
here below are the version which I am using
I am using node version ->v14.17.5
npm version -> 6.14.14
Detail error :
npm install
npm WARN deprecated [email protected]: TSLint has been deprecated in favor of ESLint. Please see palantir/tslint#4534 for more information.
npm WARN deprecated [email protected]: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated [email protected]: request has been deprecated, see request/request#3142
npm WARN deprecated [email protected]: fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated [email protected]: this library is no longer supported
npm WARN deprecated [email protected]: flatten is deprecated in favor of utility frameworks such as lodash.
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm ERR! premature close
from davraz.
@prk2331 I just solved this! Please close if it is fixed now.
The issue is some dependency has a corrupted package.json file. I fixed that dependency with commit iVis-at-Bilkent/cytoscape.js-chola@95e010e Also since I don't use those dependencies I also removed them.
Check now. I checked with "npm 6.14.14" and "node v16.13.1". npm i
and then npm run start
works fine. Thank you.
from davraz.
@canbax
Thanks for your response Really appreciated!
Yaa I checked its working now with node JS Backend,
Can you please provide me quick guidance,
I connect it with tigerGraph, But I am unable to get the SVG icons on the nodes,
which is in my graph schema, can you please provide some guidance on this ?
from davraz.
Styles and icons in the tiger graph are totally unrelated. Here we make visualization with cytoscape.js So you should give cytoscape.js styles
For a sample, you can load https://github.com/canbax/davraz/blob/master/src/assets/cytoscape.js-style/covid19.json with "File>Load Graph Style" and then you can load a graph compatible with this style. You can load a graph such as https://github.com/canbax/davraz/blob/master/src/assets/sample_data/covid-19-sample-data.json with "File>Load"
from davraz.
@canbax yes I checked the visualization by (Loading Covid 19 data and Covid 19 syling) this is working perfect
I also check the table format , and Layout algorithms (circle , Grid, fcose, euler, grid etc).
I checked with TigerGraph connection as well
when I click on the RUN Installed Queries and pass params accordingly which are required, then the nodes are also coming well in Grey color I explore their neighbor's (Neighbors are also coming in grey color) , But here I am trying to implement (that there is any way to give the different colors to the nodes like for example All profiles nodes are of red color :-(liked Products)- All Products are in Pink and so on.. in that way) just for differentiate the (vertices/nodes) in the large Schema
Can you please guide me for that, this will be really helpful.
from davraz.
You should write your own styles. You can inspect the covid 19 style file and read the docs about cytoscape.js styles
from davraz.
@canbax thanks
I understood the whole concept we will be able to give the Style in Json file according to the rendered Nodes and load the Json file via Load Graph style tab
But here I am facing an issue that when we load the data from Sample data like COVID data which is given in the sample folder
then clear the rendered graph, after that when we run our Installed GSQL queries nodes are not coming
so this happens only when we load Sample data and then we clear and run our installed query
can you please provide some help!
from davraz.
You should also clear the styles. The data and styles are 2 different things. The data and styles should also be compatible. If you load a data, you should use compatible styles.
from davraz.
Related Issues (14)
- Is this a Cytoscape JSON editor? HOT 1
- TigerGraph backend related stuff
- Highlight GSQL code HOT 3
- update graph name is not saved before clicking to save button
- use `runOutsideAngular`
- draggable divs are not updating z-index after drag
- Update readme file for proxy_server.js
- History maintained after refresh the component and from exit the browser HOT 1
- Some UI fixes HOT 1
- Changing proxy server URL is not effective
- make draggable-div component more shadowed on active
- open Settings at first since it needs database config info for visualization
- call isLoading = true when a HTTP request is made, call false after response comes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from davraz.