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

jedcunningham pushed a commit to branch v2-2-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit d6466ee8b4ea7bbd20adc47283efdca3ffaa97cb
Author: jon-fearer <[email protected]>
AuthorDate: Tue Dec 14 20:50:00 2021 -0700

    fix(dag-dependencies): fix arrow styling (#20303)
    
    (cherry picked from commit 28045696dd3ea7207b1162c2343ba142e1f75e5d)
---
 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);

Reply via email to