You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2020/02/22 08:06:09 UTC
[GitHub] [airflow] robinedwards commented on a change in pull request #7492:
[AIRFLOW-6871] optimize tree view for large DAGs
robinedwards commented on a change in pull request #7492: [AIRFLOW-6871] optimize tree view for large DAGs
URL: https://github.com/apache/airflow/pull/7492#discussion_r382895902
##########
File path: airflow/www/templates/airflow/tree.html
##########
@@ -102,10 +112,63 @@
var tree = d3.layout.tree().nodeSize([0, 25]);
var nodes = tree.nodes(data);
+var now_ts = Date.now()/1000;
var nodeobj = {};
for (i=0; i<nodes.length; i++) {
Review comment:
perhaps we could stick all this node munging code into a function?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services