Skip to content

Commit 4844bdd

Browse files
committed
improve docs
1 parent 1b3226a commit 4844bdd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: src/components/graph/Graph.jsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ export default class Graph extends React.Component {
221221
/**
222222
* Handles d3 'drag' event.
223223
* {@link https://github.com/d3/d3-drag/blob/master/README.md#drag_subject|more about d3 drag}
224-
* @param {Object} d3Event - `DragEvent` Contains d3 event data.
224+
* @param {Object} d3Event - `DragEvent` contains d3 event data.
225225
* @param {string} datum - The datum we configured inside, our d3Select call,
226226
* currently happening inside _graphNodeDragConfig function.
227227
* in our case the datum, will be equal to the nodeId.
@@ -302,7 +302,7 @@ export default class Graph extends React.Component {
302302

303303
/**
304304
* Handler for 'zoom' event within zoom config.
305-
* @param {Object} d3Event - `ZoomEvent contains data about the zoom event.
305+
* @param {Object} d3Event - `ZoomEvent` contains d3 event data
306306
* @returns {Object} returns the transformed elements within the svg graph area.
307307
*/
308308
_zoomed = d3Event => {

0 commit comments

Comments
 (0)