Set color for a node of particular commit in Gitgraph

204 Views Asked by At

I import Git tree as JSON in Gitgraph for React. I want to color a node for commit with particular hash in red, like on the pic.

Is there a native way in Gitgraph.js to achieve this?

enter image description here

{this.props.git && this.props.git.log &&
 <Gitgraph>
     {gitgraph => {
         gitgraph.import(this.props.git.log)
     }}
 </Gitgraph>
}
0

There are 0 best solutions below