gitgraph.js

👋 [Looking for maintainers] - A JavaScript library to draw pretty git graphs in the browser

MIT License

Downloads
11.7K
Stars
3K
Committers
53
gitgraph.js - Fix fast-forward for horizontal graphs

Published by nicoespeon almost 8 years ago

gitgraph.js - Add fast-forward option for merges

Published by nicoespeon almost 8 years ago

Now you can do feature.merge(develop, { fastForward: true }); to perform a fast-forward merge if possible.

If fast-forward is not possible, it will fallback to regular merge.

gitgraph.js - Enhance emitted events

Published by nicoespeon almost 8 years ago

  • Canvas event handlers can be disposed from the consumer end with gitgraph.dispose() - #128
  • Click handlers receive the original event objects so you can identify the click type, for instance - #129
gitgraph.js - Add tooltipDisplay to commit options

Published by nicoespeon about 8 years ago

See #119.

gitgraph.js - Fix offsetX and offsetY for older FF

Published by nicoespeon about 8 years ago

See #116

gitgraph.js - Add the possibility to display tag without box

Published by nicoespeon about 8 years ago

See #113.

gitgraph.js - Add the possibility to change the initial CommitOffsetX and CommitOffsetY

Published by nicoespeon over 8 years ago

See #109.

gitgraph.js - Fix branches from previous commit + events support for FF < 39

Published by nicoespeon over 8 years ago

See #86 & #107.

gitgraph.js - Restore line dash after applying it to branch

Published by nicoespeon over 8 years ago

See #106

gitgraph.js - Fix tag alignment

Published by nicoespeon over 8 years ago

See #103

gitgraph.js - v1.2.0

Published by nicoespeon over 8 years ago

  • Add boolean reverseArrow config option to make arrows point to ancestors
  • You can attach a onClick callback to any commit. It takes the clicked commit object as parameter.
  • Graph emits graph:render event when rendered
  • Graph emits commit:mouseout when you mouseout a commit
  • Graph exposes its scalingFactor
  • Template can specify not to display tooltips with commit.shouldDisplayTooltipsInCompactMode option

Or check the complete changelog.

gitgraph.js - Fix reverse display (#89)

Published by nicoespeon over 8 years ago

gitgraph.js - Solve an issue tempting to assign a read-only variable in Firefox (#93)

Published by nicoespeon almost 9 years ago

gitgraph.js - Fix details position (#85) & typos around

Published by nicoespeon almost 9 years ago

gitgraph.js -

Published by nicoespeon almost 9 years ago

  • Graph emitscommit:mouseover event when you hover a commit
  • You can tag commits, including merge commits
  • Commits can take a onClick callback
  • You can specify a column index for a branch
  • Template can display branch names
  • Template can specify their own tooltipHTMLFormatter function

Or check the complete changelog.

gitgraph.js - v1.0.3

Published by nicoespeon over 9 years ago

First draft of the library, with few patches since the first release.

Please check the online doc for more information on what you can do for now.

Package Rankings
Top 23.48% on Repo1.maven.org
Top 1.84% on Npmjs.org
Top 5.01% on Bower.io
Badges
Extracted from project README
All Contributors MIT License lerna Join the chat at https://gitter.im/gitgraphjs/community