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

Can horizontal and vertical switching display be added? #4

Open
holopopo opened this issue Nov 8, 2024 · 7 comments
Open

Can horizontal and vertical switching display be added? #4

holopopo opened this issue Nov 8, 2024 · 7 comments

Comments

@holopopo
Copy link

holopopo commented Nov 8, 2024

No description provided.

@n1crack
Copy link
Owner

n1crack commented Nov 8, 2024

Yes it is possible. But I need time to test some things.

@holopopo
Copy link
Author

OK. I found a problem. That is, when I quickly collapse and expand, the double-click magnification effect will be triggered. But I just want to collapse and expand!

@n1crack
Copy link
Owner

n1crack commented Nov 11, 2024

I see, I'll look into it

@holopopo
Copy link
Author

test
I tried to make some changes, but the connecting line is always calculated incorrectly.

@n1crack
Copy link
Owner

n1crack commented Nov 11, 2024

It can be done with some css changes if the elements allow it.

But I want to change the behavior of the lines and get rid of the nested structure. If I can do that, the performance will improve.

In order to do that I need to set/get all nodes positions correctly and add/draw lines between nodes with svg.

@holopopo
Copy link
Author

Wow! Your idea suddenly enlightened me.

@holopopo
Copy link
Author

If adjusted with CSS, how can it be implemented? Can you provide me with some ideas? Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants