You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by bb...@apache.org on 2021/12/15 03:51:10 UTC

[airflow] branch main updated: fix(dag-dependencies): fix arrow styling (#20303)

This is an automated email from the ASF dual-hosted git repository.

bbovenzi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 2804569  fix(dag-dependencies): fix arrow styling (#20303)
2804569 is described below

commit 28045696dd3ea7207b1162c2343ba142e1f75e5d
Author: jon-fearer <fe...@gmail.com>
AuthorDate: Tue Dec 14 20:50:00 2021 -0700

    fix(dag-dependencies): fix arrow styling (#20303)
---
 airflow/www/static/js/dag_dependencies.js | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/airflow/www/static/js/dag_dependencies.js b/airflow/www/static/js/dag_dependencies.js
index 02f83f6..4e34228 100644
--- a/airflow/www/static/js/dag_dependencies.js
+++ b/airflow/www/static/js/dag_dependencies.js
@@ -200,7 +200,10 @@ const renderGraph = () => {
 
   // Set edges
   edges.forEach((edge) => {
-    g.setEdge(edge.u, edge.v);
+    g.setEdge(edge.u, edge.v, {
+      curve: d3.curveBasis,
+      arrowheadClass: 'arrowhead',
+    });
   });
 
   innerSvg.call(render, g);