diff --git a/daliuge-translator/dlg/dropmake/web/graph_init.js b/daliuge-translator/dlg/dropmake/web/graph_init.js index f55858608..ed19928df 100644 --- a/daliuge-translator/dlg/dropmake/web/graph_init.js +++ b/daliuge-translator/dlg/dropmake/web/graph_init.js @@ -50,7 +50,7 @@ function graphInit(graphType){ $("#" + graphType + "Button").addClass("active") //hide graph change buttons when they dont make sense locks the graph to sankey if node count is over 300 - if (nodeCount > 300) { + if (nodeCount > 600) { $("#view-mode-buttons").hide(); } else { $("#view-mode-buttons").show(); @@ -308,7 +308,7 @@ function echartsGraphInit(type, data) { function graphSetup(type, chart, graphData, graphDataParts) { // don't show labels if there are too many nodes. - var show_labels = (graphData.nodeDataArray.length > 320) ? false : true; + var show_labels = (graphData.nodeDataArray.length > 350) ? false : true; chart.setOption({ tooltip: { diff --git a/daliuge-translator/dlg/dropmake/web/src/main.css b/daliuge-translator/dlg/dropmake/web/src/main.css index 9b926de4b..826a37e24 100644 --- a/daliuge-translator/dlg/dropmake/web/src/main.css +++ b/daliuge-translator/dlg/dropmake/web/src/main.css @@ -416,8 +416,8 @@ width:auto; height:auto; position: absolute; - top: 80px; - bottom: 25px; + top: 0px; + bottom: 0px; left:0px; right:0px; }