Questions tagged [cytoscape-web]

Cytoscape Web is a graph -- nodes and edges -- visualisation library, written as a jQuery plugin.

Any questions related to using Cytoscape Web should be posted with this tag.

Note that Cytoscape Web has been replaced by Cytoscape.js. For questions about Cytoscape.js the should be used instead.

For more information about Cytoscape Web, visit the project page.

94 questions
1
vote
1 answer

How to use transform:rotate in CSS with Cytoscape.js?

How to use CSS's property for styling pie chart such as, 1 , 2 .pie { position: absolute; width: 100px; height: 100px; -moz-border-radius: 50px; -webkit-border-radius: 50px; …
JiratPasuksmit
  • 672
  • 7
  • 18
1
vote
1 answer

How to export a cytoscape web graph before serving a page to a browser

Scenario: A client is on a page with a search bar, they enter a query. This query is passed along to a second page that is generated dynamically with php by the server. Along with the query information given to the php script a variable is passed…
EthanLWillis
  • 930
  • 4
  • 14
  • 27
1
vote
1 answer

Is there a direct way to get a node's neighbors?

Is there a direct way to get all network neighbors of a node n0 in Cytoscape.js? The best solution that has occurred to me so far is to get all edges where n0 is the source and all edges where n0 is the target -- and then look at those edges'…
1
vote
1 answer

Cytoscape web 2 arbor layout

I've been trying to use the arbor layout. I've tried layout: { name:"arbor" } and layout: { name:"arbor", liveUpdate: true, ready: undefined, maxSimulationTime: 4000, fit: true, padding: [ 50, 50, 50, 50 ], …
1
vote
1 answer

Example with discreteMapper

I'd like to use the discreteMapper of CytoscapeWeb 2.0 (that is, the jQuery-based CytoscapeWeb) but need some example code showing what exactly I have to do. I already tried with some code taken from the Flash-based CytoscapeWeb and tried var…
0
votes
1 answer

Cannot read properties of null (reading 'isHeadless') while using cytoscape's layout extensions

I was trying to use "cose-bilkent" layout extension in my react app, when the layout name was changed to "cose-bilkent" from inbuilt "grid" , it throws an error saying "Cannot read properties of null (reading 'isHeadless')" Since I am running this…
Poornima T
  • 263
  • 1
  • 2
  • 8
0
votes
0 answers

Mac & Windows can display normally, but iPad Pro 9.7 and iPhone 14 pro max last version doesn't work when I reload the page

Mac & Windows can display normally, but iPad Pro 9.7 and iPhone 14 pro max last version doesn't work when I reload the page. If iPad/iPhone want to work normally,I need to delete the cache every times Can someone help me with this problem. thanks my…
0
votes
0 answers

How to use icons in nodes generated by cytoscape.js?

I need to customize the nodes, in my case I want to add an icon to each node. How can I add icons inside each node?
0
votes
1 answer

Cytoscape with Angular 13

I am a big fan of the cytoscape.js chart and I almost used so many types of the cytoscape.js chart without angular or react. Now I am trying to find out a working git repo that cytoscape.js chart with the angular 13 version. I also got a git repo…
Ragesh P Raju
  • 3,879
  • 14
  • 101
  • 136
0
votes
0 answers

Dash cytoscape change base zoom

I have different graphs that I can open in turn. autorefreshLayout sets a basic zoom for each graph so that the graph fits completely into a screen. I want to add my own zoom buttons to reduce the zoom step. If the set zoom parameter does not…
0
votes
1 answer

Trying to find a stray '{' and/or '}' curly bracket

I get 2 errors testing through my code, and it was working before I turned my function to an async and added the new Promise to the loop. Uncaught SyntaxError: missing } after property list note: { opened at line 624, column 26 What's confusing is…
Jeromeo
  • 45
  • 6
0
votes
1 answer

Layout compound nodes in cytoscape JS

Is it possible to get rid of the marked area? The yellow and green nodes are inner nodes of the grey parent node. I am using a compound node and the cola layout. compound node
x21L
  • 1
  • 2
0
votes
1 answer

Dash/Cytoscape Nested JSON Selector Styling

So I have a JSON data file that I am using with Dash/Cytoscope: "data": { "label": "Customer", "properties": { "score": 8.0, } } I need to compare 'score' with the selector to see if it is bigger than…
0
votes
1 answer

Issue with cytoscape network repeated edges

I am working on a chemical oligomerization reaction network and have generated a Cytoscape network showing each molecular species and intermediate ions in each node and each connecting edge represents a reaction pathway. The issue is, in this system…
0
votes
0 answers

Add a elliptical/hamburger menu inside cytoscape node using Cytoscape.js

Is it possible to add a menu inside a node of a graph using cytoscape.js library? I am looking to add a hamburger button or elliptical button and when you click on it, it opens a menu and then you have actions on each item inside the menu. Is it…