From be64b1e026feb56b85caedbe1723afb3425afdd5 Mon Sep 17 00:00:00 2001 From: Michael Hartung <michi@Michaels-MacBook-Pro.local> Date: Mon, 26 Jul 2021 17:14:30 +0200 Subject: [PATCH] selected/deselected to seed/off to make detail view smaller --- src/app/components/info-tile/info-tile.component.html | 4 ++-- src/app/pages/explorer-page/explorer-page.component.html | 2 +- src/index.html | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/components/info-tile/info-tile.component.html b/src/app/components/info-tile/info-tile.component.html index b2f5c5b7..7dc77606 100644 --- a/src/app/components/info-tile/info-tile.component.html +++ b/src/app/components/info-tile/info-tile.component.html @@ -46,8 +46,8 @@ <app-toggle *ngIf="wrapper.data.netexId && wrapper.data.netexId.startsWith('p')" [value]="analysis.inSelection(wrapper)" [smallStyle]="smallStyle" - (valueChange)="$event ? analysis.addItems([wrapper]) : analysis.removeItems([wrapper])" textOn="Selected" - textOff="Deselected" tooltipOn="Add protein to selection." tooltipOff="Remove protein from selection."></app-toggle> + (valueChange)="$event ? analysis.addItems([wrapper]) : analysis.removeItems([wrapper])" textOn="Seed" + textOff="Off" tooltipOn="Add protein to selection." tooltipOff="Remove protein from selection."></app-toggle> </div> <div *ngIf="!wrapper" [ngClass]="{'text-normal':smallStyle}" > Please select a node for further information. diff --git a/src/app/pages/explorer-page/explorer-page.component.html b/src/app/pages/explorer-page/explorer-page.component.html index 5e44cb54..ef8e2b09 100644 --- a/src/app/pages/explorer-page/explorer-page.component.html +++ b/src/app/pages/explorer-page/explorer-page.component.html @@ -181,7 +181,7 @@ </div> </ng-container> - <app-toggle class="footer-buttons" textOn="Drugs On" textOff="Off" + <app-toggle class="footer-buttons" textOn="Drugs" textOff="Off" tooltipOn="Display adjacent drugs ON." tooltipOff="Display adjacent drugs OFF." [smallStyle]="smallStyle" diff --git a/src/index.html b/src/index.html index 5c5e6a18..57a79c49 100644 --- a/src/index.html +++ b/src/index.html @@ -37,10 +37,10 @@ config='{ "nodeGroups": {"selectedNode": {"font": {"size": "18"} }, "0.5": {"font": "18px verdana blue", "type": "0.5er Instanz", "color": "green", "groupName": "0.5", "shape": "star"}, "patientgroup": {"type": "Patient", "detailShowLabel": "true", "color": "#632345", "groupName": "patient group", "shape": "dot", "size": "50"}, "pugGroup": {"type": "woof woof", "color": "grey", "groupName": "Pug Group", "shape": "triangle", "image": "https://static.raymondcamden.com/images/2016/11/pug.png"}}, "edgeGroups": {"xxx": {"color": "black", "groupName": "xxx Group", "dashes": [1, 2]}, "notdashes": {"color": "black", "groupName": "not dashes Group"}}, - "identifier": "ensg" + "identifier": "symbol" }' network='{ - "nodes": [{"id": "ENSG00000171862", "label": "node w/o group"}, {"id": "ENSG00000284792", "group": "0.5"}, {"id": "ENSG00000106804", "group": "pugGroup"}, {"id": "Patient No. 5", "group": "patientgroup"}, {"label": "PTEN", "id": "PTEN", "group": 0.5, "value":"5"}], + "nodes": [{"id": "TP53", "group": "0.5"}, {"id": "MYC", "group": "pugGroup"}, {"id": "Patient No. 5", "group": "patientgroup"}, {"label": "PTEN", "id": "PTEN", "group": 0.5, "value":"5"}], "edges": [ {"from": "TP53","to": "C5","group": "xxx", "label": "this is a label", "title": "this is a title"}, {"from": "Patient No. 5","to": "C5","label": "w/o group"} -- GitLab