Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tree View UI for larger DAGs & more consistent spacing in Tree View #16522

Merged
merged 2 commits into from Jun 21, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion airflow/www/static/js/tree.js
Expand Up @@ -73,7 +73,7 @@ document.addEventListener('DOMContentLoaded', () => {
treeDepth += 1;

const innerWidth = window.innerWidth > 1200 ? 1200 : window.innerWidth;
freget marked this conversation as resolved.
Show resolved Hide resolved
const squareX = innerWidth - (data.instances.length * squareSize) - (treeDepth * 50);
const squareX = (treeDepth * 25) + 200;

const squareSpacing = 2;
const margin = {
Expand Down