Skip to content

Commit 19b6c68

Browse files
authored
Merge pull request #19 from oslabs-beta/d3-index-fix
D3 multi-tree graph implementation
2 parents 42050d8 + edc331b commit 19b6c68

File tree

13 files changed

+687
-241
lines changed

13 files changed

+687
-241
lines changed

package-lock.json

Lines changed: 265 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"Bryan Lee",
2626
"David Chai",
2727
"Josh Kim",
28-
"Ruthba Anam",
28+
"Ruth Anam",
2929
"Ryan Dang",
3030
"Sierra Swaby",
3131
"Yujin Kang"
@@ -61,7 +61,7 @@
6161
"dependencies": {
6262
"acorn": "^7.1.0",
6363
"acorn-jsx": "^5.0.2",
64-
"d3": "^3.5.17",
64+
"d3": "^4.13.0",
6565
"immer": "^3.2.0",
6666
"jsondiffpatch": "^0.3.11",
6767
"prop-types": "^15.7.2",

package/linkFiber.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ module.exports = (snap, mode) => {
6363
}
6464

6565
// Helper function to traverse through the memoized state
66+
// TODO: WE NEED TO CLEAN IT UP A BIT
6667
function traverseHooks(memoizedState) {
6768
// Declare variables and assigned to 0th index and an empty object, respectively
6869
const memoized = {};

package/tree.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
/* eslint-disable no-console */
22
/* eslint-disable no-param-reassign */
3+
4+
// this is the current snapshot that is being sent to the snapshots array. it is an object
35
class Tree {
46
constructor(component, useStateInstead = false, name) {
57
// special case when component is root

0 commit comments

Comments
 (0)