:q[uit]
This example pulls together various examples of work with trees in D3.js.
The panning functionality can certainly be improved in my opinion and I would be thrilled to see better solutions contributed.
One can do all manner of housekeeping or server related calls on the drop event to manage a remote tree dataset for example.
Dragging can be performed on any node other than root (flare). Dropping can be done on any node.
Panning can either be done by dragging an empty part of the SVG around or dragging a node towards an edge.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " | |
| " _gvimrc File | |
| " Maintained by: Marcin Kumorek | |
| " [email protected] | |
| " http://kummar.pl | |
| " | |
| " Copy to ~/.gvimrc (linux) or ~/_gvimrc (windows) | |
| "Forget compatibility with Vi. Who cares. | |
| set nocompatible |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| " Gopi's _gvimrc file https://github.com/GopinathMR | |
| " This file has been modified to make it work on both Windows and Linux | |
| " Github gist location : https://gist.github.com/1100054 | |
| " If you find any issues or add any enhancements, please submit revised version as gist | |
| "---------------------------------------------------------------------------------------------------------- | |
| " 1. OS specific | |
| if ($OS == 'Windows_NT') | |
| " Windows specific settings |
NewerOlder