Repository: ErikGartner/dTree Branch: master Commit: 70bbf522b176 Files: 18 Total size: 70.4 KB Directory structure: gitextract_xfkbn2jv/ ├── .babelrc ├── .editorconfig ├── .eslintrc ├── .gitignore ├── .jscsrc ├── CHANGELOG.md ├── CONTRIBUTING.md ├── LICENSE ├── README.md ├── bower.json ├── dist/ │ └── dTree.js ├── gulpfile.js ├── package.json ├── src/ │ ├── builder.js │ └── dtree.js └── test/ └── demo/ ├── data.json ├── demo.js └── index.html ================================================ FILE CONTENTS ================================================ ================================================ FILE: .babelrc ================================================ { "blacklist": ["useStrict"] } ================================================ FILE: .editorconfig ================================================ # EditorConfig is awesome: http://EditorConfig.org root = true; [*] # Ensure there's no lingering whitespace trim_trailing_whitespace = true # Ensure a newline at the end of each file insert_final_newline = true [*.js] # Unix-style newlines end_of_line = lf charset = utf-8 indent_style = space indent_size = 2 ================================================ FILE: .eslintrc ================================================ { "parser": "babel-eslint", "rules": { "strict": 0, "quotes": [2, "single"] }, "env": { "browser": true, "node": true } } ================================================ FILE: .gitignore ================================================ # Logs logs *.log # Runtime data pids *.pid *.seed # Directory for instrumented libs generated by jscoverage/JSCover lib-cov # Coverage directory used by tools like istanbul coverage # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) .grunt # Compiled binary addons (http://nodejs.org/api/addons.html) build/Release # Dependency directory # Commenting this out is preferred by some people, see # https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git- node_modules bower_components coverage tmp # Users Environment Variables .lock-wscript .env ### OSX ### .DS_Store .AppleDouble .LSOverride # Icon must end with two \r Icon # Thumbnails ._* # Files that might appear in the root of a volume .DocumentRevisions-V100 .fseventsd .Spotlight-V100 .TemporaryItems .Trashes .VolumeIcon.icns # Directories potentially created on remote AFP share .AppleDB .AppleDesktop Network Trash Folder Temporary Items .apdisk ### Node ### # Logs logs *.log npm-debug.log* # Runtime data pids *.pid *.seed # Directory for instrumented libs generated by jscoverage/JSCover lib-cov # Coverage directory used by tools like istanbul coverage # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) .grunt # node-waf configuration .lock-wscript # Compiled binary addons (http://nodejs.org/api/addons.html) build/Release # Dependency directories node_modules jspm_packages # Optional npm cache directory .npm # Optional REPL history .node_repl_history ================================================ FILE: .jscsrc ================================================ { "preset": "google", "maximumLineLength": null } ================================================ FILE: CHANGELOG.md ================================================ ## [2.4.1](https://github.com/ErikGartner/dtree/compare/2.4.0...v2.4.1) (2020-04-24) # [2.4.0](https://github.com/ErikGartner/dtree/compare/2.3.0...v2.4.0) (2020-04-24) # [2.3.0](https://github.com/ErikGartner/dtree/compare/2.2.2...v2.3.0) (2020-04-24) ### Features * **#20:** add feature to zoom/pan to position/node ([eb1bb87](https://github.com/ErikGartner/dtree/commit/eb1bb87)) * **#20:** add zoomToFit() function ([f57859c](https://github.com/ErikGartner/dtree/commit/f57859c)) * **#65:** add custom click event for marriage nodes ([b4111d6](https://github.com/ErikGartner/dtree/commit/b4111d6)) * **#65:** add custom renderer for marriages ([112a375](https://github.com/ErikGartner/dtree/commit/112a375)) ## [2.2.2](https://github.com/ErikGartner/dtree/compare/2.2.1...v2.2.2) (2019-07-07) ### Bug Fixes * Lower rectangle border thinner than the upper one in Firefox ([748a0c4](https://github.com/ErikGartner/dtree/commit/748a0c4)) * Rounding issues #92 ([9b70e04](https://github.com/ErikGartner/dtree/commit/9b70e04)) ## [2.2.1](https://github.com/ErikGartner/dtree/compare/2.1.0...v2.2.1) (2019-05-07) # [2.1.0](https://github.com/ErikGartner/dtree/compare/2.0.2...v2.1.0) (2019-02-23) ### Bug Fixes * Bug in build script to update CDN link ([2525601](https://github.com/ErikGartner/dtree/commit/2525601)) * Missing borders in dTree demo ([5926c15](https://github.com/ErikGartner/dtree/commit/5926c15)) ### Features * Add border to SVG in demo ([7876de6](https://github.com/ErikGartner/dtree/commit/7876de6)) * Add callback for node width separation #27 ([027de86](https://github.com/ErikGartner/dtree/commit/027de86)) * Remove unused test stub code ([938395a](https://github.com/ErikGartner/dtree/commit/938395a)) * Update dependencies with Yarn ([6a207c6](https://github.com/ErikGartner/dtree/commit/6a207c6)) ## [2.0.2](https://github.com/ErikGartner/dtree/compare/2.0.1...v2.0.2) (2017-05-02) ### Bug Fixes * Incorrect marriages line. #53 ([25fd62e](https://github.com/ErikGartner/dtree/commit/25fd62e)) ## [2.0.1](https://github.com/ErikGartner/dtree/compare/2.0.0...v2.0.1) (2017-04-10) ### Bug Fixes * Missing parameters to click callback #50 ([fb00d8f](https://github.com/ErikGartner/dtree/commit/fb00d8f)) # [2.0.0](https://github.com/ErikGartner/dtree/compare/1.3.2...v2.0.0) (2017-03-09) ### Bug Fixes * upgrade to d3 v4 ([d63d003](https://github.com/ErikGartner/dtree/commit/d63d003)) ### Features * Deprecated marriage attribute. Use marriages instead now. #26 ([096b90f](https://github.com/ErikGartner/dtree/commit/096b90f)) ## [1.3.2](https://github.com/ErikGartner/dtree/compare/1.3.1...v1.3.2) (2016-07-21) ## [1.3.1](https://github.com/ErikGartner/dtree/compare/1.3.0...v1.3.1) (2016-03-08) # [1.3.0](https://github.com/ErikGartner/dtree/compare/1.2.1...v1.3.0) (2016-03-08) ### Features * Further improvement to height calculation ([2171995](https://github.com/ErikGartner/dtree/commit/2171995)) ## [1.2.1](https://github.com/ErikGartner/dtree/compare/1.2.0...v1.2.1) (2016-03-08) ### Bug Fixes * Proper height calculation #29 ([282fae5](https://github.com/ErikGartner/dtree/commit/282fae5)) # [1.2.0](https://github.com/ErikGartner/dtree/compare/1.1.0...v1.2.0) (2016-01-14) ### Features * Update to lodash 4.0.0 ([bd8451d](https://github.com/ErikGartner/dtree/commit/bd8451d)) # [1.1.0](https://github.com/ErikGartner/dtree/compare/1.0.0...v1.1.0) (2016-01-11) ### Features * Add support for multiple marriages #25 ([8795a5e](https://github.com/ErikGartner/dtree/commit/8795a5e)) # [1.0.0](https://github.com/ErikGartner/dtree/compare/0.8.1...v1.0.0) (2016-01-10) ## [0.8.1](https://github.com/ErikGartner/dtree/compare/0.8.0...v0.8.1) (2016-01-05) ### Bug Fixes * Bug due improper skipping of hidden nodes ([9739472](https://github.com/ErikGartner/dtree/commit/9739472)) # [0.8.0](https://github.com/ErikGartner/dtree/compare/0.7.6...v0.8.0) (2016-01-05) ### Features * Individual height of nodes depending of content ([6d9aa8a](https://github.com/ErikGartner/dtree/commit/6d9aa8a)) ## [0.7.6](https://github.com/ErikGartner/dtree/compare/0.7.5...v0.7.6) (2016-01-04) ## [0.7.5](https://github.com/ErikGartner/dtree/compare/0.7.4...v0.7.5) (2016-01-04) ## [0.7.4](https://github.com/ErikGartner/dtree/compare/0.7.3...v0.7.4) (2016-01-04) ## [0.7.3](https://github.com/ErikGartner/dtree/compare/0.7.2...v0.7.3) (2016-01-04) ## [0.7.2](https://github.com/ErikGartner/dtree/compare/0.7.1...v0.7.2) (2016-01-04) ## [0.7.1](https://github.com/ErikGartner/dtree/compare/0.7.0...v0.7.1) (2016-01-04) # [0.7.0](https://github.com/ErikGartner/dtree/compare/0.6.1...v0.7.0) (2016-01-04) ### Features * Resizing nodes ([2454086](https://github.com/ErikGartner/dtree/commit/2454086)) ## [0.6.1](https://github.com/ErikGartner/dtree/compare/0.6.0...v0.6.1) (2016-01-02) # [0.6.0](https://github.com/ErikGartner/dtree/compare/0.5.0...v0.6.0) (2016-01-02) ### Bug Fixes * Bug in demo ([b1092a4](https://github.com/ErikGartner/dtree/commit/b1092a4)) ### Features * Add depthOffset attribute ([7037257](https://github.com/ErikGartner/dtree/commit/7037257)) # [0.5.0](https://github.com/ErikGartner/dtree/compare/0.4.0...v0.5.0) (2016-01-01) ### Features * Add custom sorting #7 ([9923c66](https://github.com/ErikGartner/dtree/commit/9923c66)) # [0.4.0](https://github.com/ErikGartner/dtree/compare/0.3.4...v0.4.0) (2016-01-01) ### Features * Add direct children nodes #19 ([2a37451](https://github.com/ErikGartner/dtree/commit/2a37451)) ## [0.3.4](https://github.com/ErikGartner/dtree/compare/0.3.3...v0.3.4) (2016-01-01) ### Bug Fixes * Another gulp bug ([000165c](https://github.com/ErikGartner/dtree/commit/000165c)) ## [0.3.3](https://github.com/ErikGartner/dtree/compare/0.3.2...v0.3.3) (2016-01-01) ### Bug Fixes * Bug in automatic release ([97cdd26](https://github.com/ErikGartner/dtree/commit/97cdd26)) ## [0.3.2](https://github.com/ErikGartner/dtree/compare/0.3.1...v0.3.2) (2016-01-01) ### Features * Add automatic releasing #10 ([1e3f4b8](https://github.com/ErikGartner/dtree/commit/1e3f4b8)) ## [0.3.1](https://github.com/ErikGartner/dtree/compare/0.3.0...v0.3.1) (2015-12-31) ### Bug Fixes * Build including old dist ([5ca3f2a](https://github.com/ErikGartner/dtree/commit/5ca3f2a)) # [0.3.0](https://github.com/ErikGartner/dtree/compare/0.2.5...v0.3.0) (2015-12-31) ### Bug Fixes * Center graph on load #11 ([1d5e71c](https://github.com/ErikGartner/dtree/commit/1d5e71c)) * Jerky zoom start ([ea184b5](https://github.com/ErikGartner/dtree/commit/ea184b5)) ### Features * Add custom html renderers and wrapping #16 #5 #3 ([5f71c8c](https://github.com/ErikGartner/dtree/commit/5f71c8c)) * Add debug variable ([51ec554](https://github.com/ErikGartner/dtree/commit/51ec554)) ## [0.2.5](https://github.com/ErikGartner/dtree/compare/0.2.4...v0.2.5) (2015-12-30) ### Bug Fixes * Invalid buildstep ([f593bce](https://github.com/ErikGartner/dtree/commit/f593bce)) ## [0.2.4](https://github.com/ErikGartner/dtree/compare/0.2.3...v0.2.4) (2015-12-30) ### Features * Add dist/ directory ([98c3d10](https://github.com/ErikGartner/dtree/commit/98c3d10)) ## [0.2.3](https://github.com/ErikGartner/dtree/compare/0.2.2...v0.2.3) (2015-12-30) ## [0.2.2](https://github.com/ErikGartner/dtree/compare/0.2.1...v0.2.2) (2015-12-30) ### Features * Add custom text function #6 ([2384b01](https://github.com/ErikGartner/dtree/commit/2384b01)) * Add version to dTree #14 ([ffd9737](https://github.com/ErikGartner/dtree/commit/ffd9737)) ## [0.2.1](https://github.com/ErikGartner/dtree/compare/0.2.0...v0.2.1) (2015-12-29) ### Features * Decrease node seperation ([5ca1cd0](https://github.com/ErikGartner/dtree/commit/5ca1cd0)) # [0.2.0](https://github.com/ErikGartner/dtree/compare/0.1.4...v0.2.0) (2015-12-27) ## [0.1.4](https://github.com/ErikGartner/dtree/compare/0.1.3...v0.1.4) (2015-12-27) ### Bug Fixes * Bug when setting opts defaults ([d06bc19](https://github.com/ErikGartner/dtree/commit/d06bc19)) ### Features * Add click handler support #8 ([6908bc9](https://github.com/ErikGartner/dtree/commit/6908bc9)) * Add gulp demo command ([7b01f6d](https://github.com/ErikGartner/dtree/commit/7b01f6d)) * Improved separation between nodes ([c001db3](https://github.com/ErikGartner/dtree/commit/c001db3)) ## [0.1.3](https://github.com/ErikGartner/dtree/compare/0.1.2...v0.1.3) (2015-12-27) ### Bug Fixes * Bug affecting textClass ([bdfe318](https://github.com/ErikGartner/dtree/commit/bdfe318)) ## [0.1.2](https://github.com/ErikGartner/dtree/compare/0.1.1...v0.1.2) (2015-12-27) ### Features * Add css class override for node text ([21b8677](https://github.com/ErikGartner/dtree/commit/21b8677)) ## [0.1.1](https://github.com/ErikGartner/dtree/compare/0.1.0...v0.1.1) (2015-12-26) ### Bug Fixes * Typo in badge url ([e318bb4](https://github.com/ErikGartner/dtree/commit/e318bb4)) ### Features * Add release tasks to gulp ([027968c](https://github.com/ErikGartner/dtree/commit/027968c)) # 0.1.0 (2015-12-26) ### Bug Fixes * Duplicates in package.json ([09be9a3](https://github.com/ErikGartner/dtree/commit/09be9a3)) * Invalid text attribute ([90f6528](https://github.com/ErikGartner/dtree/commit/90f6528)) * README.md typo ([4851fad](https://github.com/ErikGartner/dtree/commit/4851fad)) ### Features * Add "extra" field to nodes ([618b1d7](https://github.com/ErikGartner/dtree/commit/618b1d7)) * Add zooming ([f4d8aeb](https://github.com/ErikGartner/dtree/commit/f4d8aeb)) * Automatic box size ([ff38f3f](https://github.com/ErikGartner/dtree/commit/ff38f3f)) * Changed data format ([1591875](https://github.com/ErikGartner/dtree/commit/1591875)) * Iteration zero ([30899eb](https://github.com/ErikGartner/dtree/commit/30899eb)) * Switched core foundation ([ac23c28](https://github.com/ErikGartner/dtree/commit/ac23c28)) * Update devDeps ([c653f93](https://github.com/ErikGartner/dtree/commit/c653f93)) * Update options and align text ([9346c2d](https://github.com/ErikGartner/dtree/commit/9346c2d)) * Use class in data ([085ed25](https://github.com/ErikGartner/dtree/commit/085ed25)) ================================================ FILE: CONTRIBUTING.md ================================================ # Contributing to dTree ## Commiting Please follow these guidelines. ### Versioning dTree uses [SemVer 2.0.0](http://semver.org/spec/v2.0.0.html). That is the versioning is \.\.\. ### Commit Message Format Each commit message consists of a **header**, a **body** and a **footer**. The header has a special format that includes a **type**, a **scope** and a **subject**: ``` ():