Skip to content

Commit

Permalink
Merge pull request #65 from ICRAR/liu-168
Browse files Browse the repository at this point in the history
changed colors
  • Loading branch information
M-Wicenec committed Aug 27, 2021
2 parents 6f931bc + f39bdff commit 8a6cea2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 12 deletions.
4 changes: 2 additions & 2 deletions daliuge-translator/dlg/dropmake/web/VERSION
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
1.0.0:liu-150
7d63d6614a0adf606acd07a5c8283b9eacaa5f0d
1.0.0:liu-168
6f931bc80d39ad7e2f5acbcc90a5ba5ffc6066b9
21 changes: 11 additions & 10 deletions daliuge-translator/dlg/dropmake/web/graph_init.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function graphInit(type){
var newElement = {};
let keyIndex = new Map();
//shapes and colors for different node types
var nodeCatgColors = {'Data':'#c59a1a', 'Component': '#002349'}
var nodeCatgColors = {'Data':'#9ab4d0', 'Component': '#7f9cbb'}
var nodeCatgShape = {'Data':'path://M 300 100 L 1000 100 L 800 200 L 100 200 z', 'Component':'rect'}
var nodeCount = 0
data.nodeDataArray.forEach(element => {
Expand Down Expand Up @@ -81,20 +81,21 @@ function graphInit(type){
'rotate': 45,
'fontSize': 10,
'offset': [-20,-20],
'fontWeight' : 700,
'color':'white',
'textBorderColor':'black',
'textBorderWidth' : 2.5,
'textBorderType' : 'solid'
'fontWeight' : 400,
'color':'black',
// 'textBorderColor':'black',
// 'textBorderWidth' : 2.5,
// 'textBorderType' : 'solid'
};
}else{
newElement.label = {
'fontSize': 10,
'fontWeight' : 500,
'color':'white',
'fontWeight' : 900,
'fontStyle' : 'bold',
'color':'black',
"position":"inside",
'textBorderColor':'black',
'textBorderWidth' : 2.5,
// 'textBorderColor':'black',
// 'textBorderWidth' : 2.5,
};
}

Expand Down

0 comments on commit 8a6cea2

Please sign in to comment.