Open in Cytoscape Web App

In this exercise, we will use the Open in Cytoscape Web app for Cytoscape to open a network from Cytoscape Desktop directly in Cytoscape Web, a browser-based network visualization tool. The exercise will teach you how to:

  • install the Open in Cytoscape Web app
  • verify the app is installed by locating the new toolbar button and menu item
  • open a network in Cytoscape Web using the toolbar button
  • open a network in Cytoscape Web using the right-click context menu
  • understand network size limits and how to work around them

Prerequisites

To follow this exercise, make sure you have Cytoscape 3.10 or later installed, along with the Open in Cytoscape Web app. You will also need an active internet connection and a default web browser configured on your system.

To install the app:

  • In Cytoscape, go to Apps → App Manager.
  • In the search field, type 'open'.
  • Select OpenCytoscapeWeb from the results and click Install.

Prerequisites

Verifying Installation

The toolbar button and the Open in Cytoscape Web context menu item only appear dynamically when a network is active in Cytoscape Desktop — they will not be visible if no network is loaded.

To verify now: if you already have a network open in Cytoscape Desktop, look for the two UI elements shown below — the toolbar button (orange and white icon) in the toolbar, and Open in Cytoscape Web in the right-click context menu of the Network panel.

No network loaded yet? Proceed to Exercise 1 to load a network and you can see these GUI aspects at that point.

Exercise 1: Opening a Network in Cytoscape Web

In this exercise, we will load a sample network in Cytoscape Desktop and open it in Cytoscape Web using both available methods: the toolbar button and the right-click context menu.

Exercise 1

1.1 Open a Network in Cytoscape Desktop

The Open in Cytoscape Web app works with any network loaded in Cytoscape Desktop. To get started, load any network of your choice. If you don't have one handy, try searching NDEx:

  1. In the Network panel, click the NDEx search bar at the top.
  2. Search for yeast and press Enter.
  3. Select any network from the results and click Import to load it.
  4. Wait for the network to appear in the Network View.

Exercise 1

1.2 Open via the Toolbar Button

With the network loaded, use the toolbar button to open it in Cytoscape Web.

  1. Locate the Open in Cytoscape Web toolbar button (orange and white icon) in the Cytoscape toolbar.
  2. Click the button.
  3. Your default web browser will open a new window at web.cytoscape.org with the network loaded automatically from your local CyREST server.

Exercise 1

1.2 Network Opens in Cytoscape Web

Exercise 1

1.3 Open via the Context Menu

The same action can also be triggered from the Network panel without using the toolbar.

  1. In the Network panel (left sidebar), right-click the name of the loaded network.
  2. Select Open in Cytoscape Web from the context menu.
  3. The browser opens as before, with the network loaded in Cytoscape Web.

Exercise 1

1.4 Network Size Limits

Before opening a network, the app validates it against size limits to ensure Cytoscape Web can render it reliably. The checks run in this order:

  1. Total elements — nodes + edges combined must not exceed 26,000.
  2. Edge count — must not exceed 20,000.
  3. CX2 file size — the serialized network export must not exceed 10 MB.

If any check fails, a dialog appears explaining which limit was exceeded along with the actual vs. maximum values. The network will not be opened until the issue is resolved.