Questions tagged [cytoscape.js]

Cytoscape.js stands out as a powerful JavaScript library specifically designed for graph theory and network analysis, with advanced capabilities for visualization. This versatile tool is compatible with a wide range of development platforms including CommonJS, Node.js, Browserify, Webpack, AMD, Require.js, jQuery, npm, Bower, jspm, Meteor/Atmosphere, and plain JS/JavaScript.

When utilizing a third-party library in conjunction with Vuetify, the V-menu may have a tendency to automatically close right after

Incorporating cytoscape into a vuetify SPA has been successful for the most part. The graph renders within a v-card-element, and I can navigate to a different page using the vue router when clicking a note in the graph. However, when attempting to replace ...

Changing the size of shapes in cytoscape.js when using the dagre layout

My goal is to resize the shapes of the nodes based on the size of the node text. I tried following the steps outlined in https://github.com/cytoscape/cytoscape.js/issues/649, but encountered some issues: The shapes consistently end up with equal height a ...

When a node or edge is clicked in Cytoscape, display its attributes in a table format

Hello, I am new to using cytoscape.js and currently working on rendering shallow networks in a Flask App. At the moment, I have managed to display node and edge attributes when hovering over them, but the information is shown in a format that is not very ...

Guide on extracting node and edge information in cytoscape.js from a MySQL database table

Within my display network utilizing cytoscape.js, I am looking to show specific details from a MySQL table regarding a given node and edge upon clicking on the node. How can this be achieved? I have implemented the code below, which uses the cy.on('tap') ...

Warning from Cytoscape.js: "The use of `label` for setting the width of a node is no longer supported. Please update your style settings for the node width." This message appears when attempting to create

I'm currently utilizing Cytoscape.js for rendering a dagre layout graph. When it comes to styling the node, I am using the property width: label in the code snippet below: const cy = cytoscape({ container: document.getElementById('cyGraph'), maxZoom: ...

Experiencing issues with autoungrabify or autolock in cytoscape.js?

I have been working on a web application using Cytoscape.js, and I recently integrated the Edgehandles extension to allow users to add edges. The two types of edges that can be added are undirected and directed. Adding directed edges is functioning as expe ...

The request to retrieve data from the model at http://localhost:9000/model/data.json resulted in a 404

This is the path to my directory I have a npm server running on http://localhost:9000/ to utilize the cytoscape module. However, my server is unable to locate my json file. What could be the issue with my code? This is the source code of my index.js file ...

Create an image on a node's backdrop using a library of graph theory/networking techniques

I have a set of data that I need to visually represent as a graph on a web browser. While creating the graph itself is not an issue, I am looking to dynamically draw unique icons for each node. These icons are specific to the characteristics of each node ...

"What is the best way to retain the selected node in cytoscape.js after clicking on it

In my AngularJS application, I am seeking a way to display the information of a specific node in a side panel. Is there a method to dynamically connect the selected Node with the data shown in the side panel? ...

Unable to set background-image on Node (Limited to displaying only images sourced from Flickr)

I am experiencing difficulty with the background-image node property not functioning properly. In order to test this issue, I am using the "Images & breadthfirst layout" demo as an example (accessible at https://gist.github.com/maxkfranz/aedff159b0df0 ...