notree-md / notree

Share your knowledge
MIT License
2 stars 1 forks source link

Ability to center a node by id #14

Open jollyjerr opened 1 year ago

jollyjerr commented 1 year ago

A/C:

Code like this:

mg = new MindGraph(...config);

mg.center(nodeId);

Pans to the specified node and centers it on screen. Zoom in on the node and make the transition look nice.