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

Connections accross sections #9

Closed
MindFreeze opened this issue May 19, 2022 · 6 comments
Closed

Connections accross sections #9

MindFreeze opened this issue May 19, 2022 · 6 comments
Assignees
Labels
enhancement New feature or request

Comments

@MindFreeze
Copy link
Owner

Or ability to skip a section. Could be implemented with ghost boxes in between.

Also mentioned in #6

@MindFreeze MindFreeze added the enhancement New feature or request label May 19, 2022
@MindFreeze MindFreeze self-assigned this May 19, 2022
@Muppetteer
Copy link

I've been waiting for this one but cannot work out how to do it. I am currently fudging it with the dirty hack of including an entity twice in different sections and making it a child of itself. If I remove the intermediary entity I now get an orphan entity that is not connected to anything.

Is there something I need to put in between to achieve the "passthrough" I can see in the code? Could you update the docs with an example? Thanks

@MindFreeze
Copy link
Owner Author

MindFreeze commented Aug 10, 2022

This is exactly how it works. It just auto adds child entities in the intermediary sections to connect the curve. The 'passthrough' type enables special rendering for those. Same rules about state apply though. If for some reason you don't get the intermediaries, you can try to keep yours and just add type: passthrough to them. This would even allow you to position them manually.

I haven't had time to properly explain this in the README.

Here is a screenshot of a weird test I have
192 168 1 100_8123_lovelace-test_0

@MindFreeze MindFreeze reopened this Aug 10, 2022
@Muppetteer
Copy link

Muppetteer commented Aug 10, 2022

Thanks, it is working now. I suspect it may have been a browser cache issue not picking up the new code. I found that keeping the entity, setting type: passthrough, and connecting to itself as a child works best as I can control the order and colour of the branches.

@MindFreeze
Copy link
Owner Author

Updated README

@icefest
Copy link

icefest commented Apr 15, 2024

Is it just me or does the combination of child/parent state not work with passthrough?

@MindFreeze
Copy link
Owner Author

@icefest It should. I've used it with passthrough before. Maybe there is some sort of regression. Feel free to open a bug report

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

No branches or pull requests

3 participants