Open simonwinkelbach opened 2 years ago
Make sure you call the PushStyleVar before ImNodes::BeginNodeEditor();
Make sure you call the PushStyleVar before ImNodes::BeginNodeEditor();
Thanks for the hint. This changes the thickness of all links, but as I said, I want to change thickness of just some links and not all. In our application, some nodes perform long-running tasks, therefore their output attributes are invalid at start and gets valid after a while. The idea is to emphasize links that have “valid” data by increasing their thickness.
Hi @simonwinkelbach ! Indeed, it looks like we only capture the active color settings for each link, not the thickness. I just opened a massive pr which touches links, and I think this issue will be easy to fix after that is merged 🙂
@Nelarius Sounds great! Thanks for your support!
I couldn't wait to fix this issue by myself, which wasn't a big deal. Here is the pull request: https://github.com/Nelarius/imnodes/pull/172
@Nelarius is this project still alive? Would be a shame if not! I volunteer to help :-)
I want to increase the line thickness of individual links, while keeping the default thickness of all others.
doesn't change the thickness, whereas
changes the color as expected.
Great project BTW. Very clean and easy to use. Thanks!!