From 0bab4c284d431bfa1f760f236b3259bdf7223e3a Mon Sep 17 00:00:00 2001 From: AndiMajore <andi.majore@googlemail.com> Date: Tue, 1 Nov 2022 15:25:30 +0100 Subject: [PATCH] fixed icon issue --- build-netex.js | 2 +- src/index.html | 2 +- src/index_static.html | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build-netex.js b/build-netex.js index 34277692..5a96f1b4 100644 --- a/build-netex.js +++ b/build-netex.js @@ -11,6 +11,6 @@ const concat = require('concat'); await fs.ensureDir('drugsTone-build'); await concat(files, 'drugsTone-build/drugstone.js'); await fs.copy('./dist/netex/styles.css', 'drugsTone-build/styles.css'); - await fs.copy('./dist/netex/assets/', 'drugsTone-build/assets/'); + // await fs.copy('./dist/netex/assets/', 'drugsTone-build/assets/'); })(); diff --git a/src/index.html b/src/index.html index 130a578e..4e5a70b5 100644 --- a/src/index.html +++ b/src/index.html @@ -96,7 +96,7 @@ <div style="max-width: 80vw; width: 1276px; height: 500px"> <drugst-one id="tatata" - groups='{"nodeGroups":{"Protein":{"shape":"circle","groupName":"Protein","type":"Protein","color":"#172b4d","font":{"color":"#ffffff"}}}}' + groups= '{ "nodeGroups" : { "selectedNode": { "borderWidth": 3,"borderWidthSelected": 4,"color": { "border": "#ffffff","highlight": {"border": "#ffffff"}},"font": { "color": "#F8981","size": 14 }},"Protein":{"shape":"circle","groupName":"Protein","type":"Protein","color":"#172b4d","font":{"color":"#ffffff"}}}}' config='{ "identifier":"symbol","title":"ROBUST output network", "taskDrugName": "Drug Search", "showLegendNodes": true, "showLegendEdges": true, "showSidebar": "left", "showOverview": true, "legendPos": "left", "legendClass": "legend", "showQuery": true, "showItemSelector": true,"showSimpleAnalysis": false,"showAdvAnalysis": true,"showSelection": true,"showTasks": true,"showNetworkMenu": "right","showLegend": true,"showNetworkMenuButtonExpression": true, "showNetworkMenuButtonScreenshot": true,"showNetworkMenuButtonExportGraphml": true,"showNetworkMenuButtonAdjacentDrugs": true,"showNetworkMenuButtonCenter": true,"showConnectGenes": false,"networkMenuButtonAdjacentDrugsLabel": "Drugs","showNetworkMenuButtonAdjacentDisordersProteins": true,"networkMenuButtonAdjacentDisordersProteinsLabel": "Disorders (protein)","showNetworkMenuButtonAdjacentDisordersDrugs": true,"networkMenuButtonAdjacentDisordersDrugsLabel": "Disorders (drug)","showNetworkMenuButtonAnimation": true,"networkMenuButtonAnimationLabel": "Animation", "autofillEdges": true, "physicsOn": false,"useNedrexLicenced": true,"selfReferences": false, "interactionDrugProtein": "NeDRex", "indicationDrugDisorder": "NeDRex","nodeShadow": true,"edgeShadow": true, "algorithms": {"drug": ["trustrank", "closeness", "degree", "proximity"], "drug-target": ["trustrank", "multisteiner", "keypathwayminer", "degree", "closeness", "betweenness"]}, "associatedProteinDisorder": "NeDRex", "expandNetworkMenu": true}' network='{"nodes": [{"id":"PSEN1","group":"Protein","label":"PSEN1"},{"id":"PSEN2","group":"Protein","label":"PSEN2"},{"id":"APP","group":"Protein","label":"APP"},{"id":"APOE","group":"Protein","label":"APOE"},{"id":"RNF32","group":"Protein","label":"RNF32"},{"id":"STX5","group":"Protein","label":"STX5"},{"id":"TRAF3IP1","group":"Protein","label":"TRAF3IP1"},{"id":"PHB1","group":"Protein","label":"PHB1"},{"id":"MAPT","group":"Protein","label":"MAPT"},{"id":"ESR1","group":"Protein","label":"ESR1"},{"id":"IRF3","group":"Protein","label":"IRF3"},{"id":"DYNC1H1","group":"Protein","label":"DYNC1H1"},{"id":"CUL3","group":"Protein","label":"CUL3"},{"id":"HMGB1","group":"Protein","label":"HMGB1"},{"id":"DNAJC7","group":"Protein","label":"DNAJC7"},{"id":"NEFM","group":"Protein","label":"NEFM"},{"id":"DISC1","group":"Protein","label":"DISC1"},{"id":"PPP5C","group":"Protein","label":"PPP5C"},{"id":"CTNNB1","group":"Protein","label":"CTNNB1"},{"id":"KRAS","group":"Protein","label":"KRAS"}]}' ></drugst-one> diff --git a/src/index_static.html b/src/index_static.html index d24bebea..2d308214 100644 --- a/src/index_static.html +++ b/src/index_static.html @@ -6,8 +6,8 @@ <!-- <base href="/">--> <!-- <meta name="viewport" content="width=device-width, initial-scale=1.0">--> <!-- <script type="text/javascript" src="https://unpkg.com/vis-network/standalone/umd/vis-network.min.js"></script>--> - <script src="https://cdn.drugst.one/v1.0.9-rc6/prod/drugstone.js"></script> - <link rel="stylesheet" href="https://cdn.drugst.one/v1.0.9-rc6/prod/styles.css"> + <script src="https://cdn.drugst.one/nightly/drugstone.js"></script> + <link rel="stylesheet" href="https://cdn.drugst.one/nightly/styles.css"> <!-- <link rel="stylesheet" type="text/css" href="./stylesheets/default-theme.css">--> </head> <body> -- GitLab