Is there a way to start animation, or even just 1-shot set scene coordinates to a node of choice through software? I tried
let node = g.node(idx.into()).unwrap();
let pos = node.display().pos;
let min = Pos2::new(pos.x - 1.0, pos.y - 1.0);
let max = Pos2::new(pos.x + 1.0, pos.y + 1.0);
g.set_bounds(Rect { min, max});
but that didn't do anything. GraphView settings didn't seem to have had anything related either.
Is there a way to start animation, or even just 1-shot set scene coordinates to a node of choice through software? I tried
but that didn't do anything.
GraphViewsettings didn't seem to have had anything related either.