Skip to content

Commit

Permalink
fixed a margin issue for the dag graph
Browse files Browse the repository at this point in the history
  • Loading branch information
Moritz Wicenec authored and Moritz Wicenec committed Feb 24, 2022
1 parent e03a393 commit 62e8c7e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions daliuge-translator/dlg/dropmake/web/graph_init.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down Expand Up @@ -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: {
Expand Down
4 changes: 2 additions & 2 deletions daliuge-translator/dlg/dropmake/web/src/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -416,8 +416,8 @@
width:auto;
height:auto;
position: absolute;
top: 80px;
bottom: 25px;
top: 0px;
bottom: 0px;
left:0px;
right:0px;
}
Expand Down

0 comments on commit 62e8c7e

Please sign in to comment.