Show HN: Interactive graphs in Rerun with a Rust port of D3-force
We built this with applications in robotics and spatial computing in mind but would love to hear feedback from folks that would see this as useful in other domains as well.
We built this with applications in robotics and spatial computing in mind but would love to hear feedback from folks that would see this as useful in other domains as well.
jgoertler|1 year ago
Happy to answer any questions!
[0](https://github.com/grtlr/fjadra)
[1](https://d3js.org/d3-force)
troelsSteegin|1 year ago
rendaw|1 year ago
simgt|1 year ago
I really wanted live views of my gstreamer pipelines, so I've started to write a tool with egui [0]. Looks like rerun's GraphView doesn't support subgraphs and horizontal layouts yet, but I'm sure I'll soon be able to just have a gstreamer tracer that pushes reruns logs. That's better than having to find the motivation to go through my todo list! Yeah!
[0] https://github.com/simgt/glitch
jgoertler|1 year ago
It would be super cool to have layered graph drawing in (Sugiyama-style) in Rerun too. The tricky–but super interesting–challenge that we face is that our layout implementations need to be consistent across timestamps if the underlying structure of the graph changes, which is why we initially chose a force-based layout approach. There, the time-varying aspect is handled naturally by the simulation.
The very interactive nature of Rerun also poses more restrictions on the implementation of our algorithms: re-layouts ideally need to be fast, to produce visualizations quickly, especially when scrubbing the timeline.
I still hope we can rid you of some of the todos ;).
[0](https://github.com/emilk/egui/pull/5505)
burningion|1 year ago
I especially like that they're also building an (amazing) Rust version of imgui called egui, and open sourcing all the work for the ecosystem: https://github.com/emilk/egui
rcarmo|1 year ago
nikonp|1 year ago
You can for instance install and open the viewer natively with just:
> pip install rerun-sdk
> rerun