cytoscape.js Questions

3

I'm having problems generating a good looking family tree with Javascript. Requirements: Each child should be connected to two parents in the tree, not one as in some graphs I've like spouses t...
Partlet asked 28/4, 2020 at 22:26

4

I am using cytoscape.js and would like to add the feature on mouseover or tap of a node to apply a style to: change the style of the neighbouring nodes - 1st degree fade out the nodes that are n...
Nudd asked 20/7, 2015 at 7:33

3

Solved

I saw in the cytoscape.js tutorial that there are ways to represent the graph as image (png, jpg), but there is a way to represent it as regular graph, and if the user would want he can save it as ...
Panathenaea asked 26/8, 2016 at 14:41

3

I am using cytoscape.js to make a simple graph network. I'd like each node to contain an href to link to more information, or on hover to display information as well. Is it possible to add this fun...
Flail asked 12/12, 2016 at 20:28

4

I am trying to use use Cytoscape with ReactJS and some how nothing is getting displayed in the simple component i am trying. Here is the code. I am returning an empty object in mapStateToProps as ...
Unction asked 28/7, 2016 at 2:26

1

Since we updated to Cytoscape.js to version 3.3.2 we get the following warning: You have set a custom wheel sensitivity.This will make your app zoom unnaturally when using mainstream mice. You ...
Pool asked 27/2, 2019 at 10:51

2

Solved

I'm trying to draw a molecular similarity network using cytoscape.js. I want to set node size to the amount of edges in network. Now I have network data as JSON Format. I want to now that how set e...
Panayiotis asked 30/7, 2014 at 13:20

2

Solved

I am working on a cytoscape.js graph in browser. I want to show some information of nodes (e.g. node label) as the mouse hovers over the nodes in a cytoscape graph. The following code is working fo...
Capon asked 6/2, 2019 at 6:37

2

Solved

I am creating a graph using cytoscape.js and I have compounded nodes which are inside the parent node. I would like to have the title of the main/parent node at the top of the node but inside the n...
Septuple asked 24/6, 2021 at 18:51

3

Solved

Is there a function that resets the graph to it's freshly loaded state? I've tried cy.reset() but that just resets zoom and pan, not restoring to the virgin graph. Also is there a way to restore a...
Climactic asked 22/8, 2013 at 22:36

2

How Can I add an Html elements inside a Cytoscape node? E.g: I want to add to every node - 2 small buttons, so the user can click on each one of the buttons and the value inside this node will cha...
Admixture asked 30/8, 2014 at 18:54

2

I am using the excellent Cytoscape.js for graphing. I have previously been using the Cola option for this as it uses force direction. However I now want to visualize multiple graphs that have no co...
Flower asked 14/11, 2019 at 17:53

4

Solved

I see react-d3. The last I used it for charts (prior to React), it was great until the layout of legends, margins, labels on the axes need adjusting. Using c3 and other libs on top of d3, mad...
Tropic asked 29/8, 2016 at 15:5

2

I noticed that edge source or target arrows are missing when using the current unstable branch (2.7.0-unstable). The standard cy demo show below. Is this a known issue or has something changed?
Strickle asked 14/6, 2016 at 21:39

1

The following cytoscape.js graph shows no arrow heads on its edges. I do have a selector for edges that specifies a triangular arrowhead, but it does not show up. var cy = cytoscape({ conta...
Clino asked 18/3, 2020 at 18:0

2

I am trying to add a class to the node, to have all my css in a stylesheet file, not inside javascrpt declaration. var values = { nodes: [ { data: { id: 'explore'}, classes: 'ClassName1' }, ...
Crankshaft asked 3/12, 2014 at 20:9

1

Solved

My company is building a graph-view editor for chatbots. We are using Cytoscape along with the cytoscape-cola extension to accomplish this. One of the issues we are facing is dynamically adding new...
Blackdamp asked 1/10, 2019 at 7:19

2

Solved

I want to import cytoscape.js library in my angular project, but I don't know how to do it. As far as I know, there is no official cytoscape module for angular, is there any way to import cytoscape...
Isaiah asked 23/7, 2018 at 2:28

1

I am using vue-cytoscape to render a graph and navigate through a tree-like data structure. My goal is to expand parent nodes and keep their position in the graph. I would like to simply add the n...
Mandatory asked 7/7, 2019 at 22:27

3

Solved

I'm having trouble building a graph network with cytoscapeJS. I can add nodes and handle them which is quite easy, but I'm not able to configure cytospace to disable Dragging/Moving nodes. I have ...
Listen asked 14/5, 2015 at 10:6

1

I am working on an application that fetches data from a database and I would like to show them as graph. I managed the "tap" event on a node by showing their neighbors (nodes and connection links)...
Otiose asked 5/3, 2019 at 13:11

1

I'm building a web application using Cytoscape.js that visualizes protein interaction data. Proteins (nodes) need to have ID's corresponding to strings representing their chromosome locations, bec...
Jailer asked 18/2, 2019 at 0:45

1

Solved

How can I change the color to a node or edge that already exists on a layout (without deleting/adding it)? I've got a layout of nodes with preselected positions which I want to change the color (n...
Canonry asked 24/1, 2019 at 17:11

2

Solved

I'm trying to display nodes that have a font icon in the center of the node using 'content' and a text label underneath. My styling is currently: { 'selector': 'node[icon]', 'style': { 'conten...
Algebra asked 9/1, 2019 at 17:29

3

Solved

I want to add a cytoscape node at the location of mouse arrow, on a click event on the canvas. How can I do this? My approach: (not working so well) I am able to create a node on a click but I a...
Formulary asked 1/10, 2013 at 12:17

© 2022 - 2024 — McMap. All rights reserved.