Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace static Cytoscape plugin with npm package #19127

Merged
merged 7 commits into from
Nov 13, 2024
Merged
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions client/gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ const xml2js = require("xml2js");
const STATIC_PLUGIN_BUILD_IDS = [
"annotate_image",
"chiraviz",
"cytoscape",
"drawrna",
"editor",
"example",
Expand All @@ -37,7 +36,7 @@ const STATIC_PLUGIN_BUILD_IDS = [
"ts_visjs",
"venn",
];
const INSTALL_PLUGIN_BUILD_IDS = ["ngl", "msa", "openlayers"]; // todo: derive from XML
const INSTALL_PLUGIN_BUILD_IDS = ["cytoscape", "ngl", "msa", "openlayers"]; // todo: derive from XML
const DIST_PLUGIN_BUILD_IDS = ["new_user"];
const PLUGIN_BUILD_IDS = Array.prototype.concat(DIST_PLUGIN_BUILD_IDS, STATIC_PLUGIN_BUILD_IDS);

Expand Down
26 changes: 5 additions & 21 deletions config/plugins/visualizations/cytoscape/config/cytoscape.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@
<params>
<param type="dataset" var_name_in_template="hda" required="true">dataset_id</param>
</params>
<entry_point entry_point_type="chart" src="script.js"/>
<requirements>
<requirement type="npm" version="0.0.2" package="@galaxyproject/cytoscape"/>
</requirements>
<entry_point entry_point_type="script" src="dist/index.js" css="dist/index.css" />
<settings>
<input>
<label>Curve style</label>
Expand Down Expand Up @@ -69,10 +72,6 @@
<label>Grid</label>
<value>grid</value>
</data>
<data>
<label>Null</label>
<value>null</value>
</data>
<data>
<label>Preset</label>
<value>preset</value>
Expand All @@ -87,18 +86,7 @@
<label>Directed/Undirected</label>
<name>directed</name>
<help>Select a kind of edge.</help>
<type>select</type>
<display>radio</display>
<data>
<data>
<label>Directed</label>
<value>triangle</value>
</data>
<data>
<label>Undirected</label>
<value></value>
</data>
</data>
<type>boolean</type>
</input>
<input>
<label>Graph algorithms</label>
Expand All @@ -115,10 +103,6 @@
<label>Depth First Search</label>
<value>dfs</value>
</data>
<data>
<label>Depth First Search</label>
<value>dfs</value>
</data>
<data>
<label>Minimum Spanning Tree (Kruskal)</label>
<value>kruskal</value>
Expand Down
22 changes: 0 additions & 22 deletions config/plugins/visualizations/cytoscape/package.json

This file was deleted.

279 changes: 0 additions & 279 deletions config/plugins/visualizations/cytoscape/src/script.js

This file was deleted.

Binary file modified config/plugins/visualizations/cytoscape/static/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading