Skip to content
Snippets Groups Projects
Commit a2df1059 authored by Hartung, Michael's avatar Hartung, Michael
Browse files

rename variables nodes --> genes

parent 09897d5d
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
<span class="icon">
<i class="fas fa-project-diagram" aria-hidden="true"></i>
</span>
Connect Nodes
Connect Genes
</p>
<a
(click)="collapseQuickConnect = !collapseQuickConnect"
......
......@@ -57,7 +57,7 @@ export interface IConfig {
showNetworkMenuButtonExportGraphml: boolean;
showNetworkMenuButtonAdjacentDrugs: boolean;
showNetworkMenuButtonCenter: boolean;
showConnectNodes: boolean;
showConnectGenes: boolean;
networkMenuButtonAdjacentDrugsLabel: string;
showNetworkMenuButtonAdjacentDisordersProteins: boolean;
networkMenuButtonAdjacentDisordersProteinsLabel: string;
......@@ -112,7 +112,7 @@ export const defaultConfig: IConfig = {
showNetworkMenuButtonExportGraphml: true,
showNetworkMenuButtonAdjacentDrugs: true,
showNetworkMenuButtonCenter: true,
showConnectNodes: true,
showConnectGenes: true,
networkMenuButtonAdjacentDrugsLabel: 'Drugs',
showNetworkMenuButtonAdjacentDisordersProteins: true,
networkMenuButtonAdjacentDisordersProteinsLabel: 'Disorders (protein)',
......
......@@ -195,7 +195,7 @@
</div>
</div>
<app-quick-drug-target *ngIf="drugstoneConfig.config.showConnectNodes"></app-quick-drug-target>
<app-quick-drug-target *ngIf="drugstoneConfig.config.showConnectGenes"></app-quick-drug-target>
<app-quick-drug *ngIf="drugstoneConfig.config.showSimpleAnalysis"></app-quick-drug>
......
......@@ -32,7 +32,7 @@
<input type="checkbox" onclick=changeConfigStr('{"showQuery":'+this.checked+'}') /> Show query<br>
<!-- <input type="checkbox" onclick=changeConfigStr('{"showSidebar":'+this.checked+'}') checked /> Show sidebar<br> -->
<input type="checkbox" onclick=changeConfigStr('{"showItemSelector":'+this.checked+'}') checked /> Show ItemSelector<br>
<input type="checkbox" onclick=changeConfigStr('{"showConnectNodes":'+this.checked+'}') /> Show Connect Nodes<br>
<input type="checkbox" onclick=changeConfigStr('{"showConnectGenes":'+this.checked+'}') /> Show Connect Genes<br>
<input type="checkbox" onclick=changeConfigStr('{"showSimpleAnalysis":'+this.checked+'}') /> Show Simple Analysis<br>
<input type="checkbox" onclick=changeConfigStr('{"showAdvAnalysis":'+this.checked+'}') checked /> Show Advanced Analysis<br>
<input type="checkbox" onclick=changeConfigStr('{"showTasks":'+this.checked+'}') checked /> Show Tasks<br>
......@@ -69,7 +69,7 @@
<drugst-one id="netexp1"
pluginId="2"
groups='{"nodeGroups":{"node":{"type":"Gene","color":"#0000FF","font":{"color":"#ffffff"},"groupName":"Node","shape":"ellipse"}, "gene":{"type":"Gene","color":"#CD5C5C","font":{"color":"#000000"},"groupName":"Gene","shape":"ellipse"}}}'
config='{"physicsOn":false,"identifier":"symbol","title":"Breast cancer example network","nodeShadow":true,"edgeShadow":false,"autofillEdges":false,"showLegend":true}'
config='{"legendPos": null, "physicsOn":false,"identifier":"symbol","title":"Breast cancer example network","nodeShadow":true,"edgeShadow":false,"autofillEdges":false,"showLegend":true}'
network='{"nodes":[{id: "PTEN", group: "gene"}, {id: "Node2", group: "node"}, {id: "Node3", group: "node"}, {id: "Node4", group: "node"}],
"edges":[{"from": "PTENP1", "to": "Node2"}, {"from": "PTEN", "to": "Node3"}, {"from": "PTEN", "to": "Node4"}]}'
>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment