Releases: danielcaldas/react-d3-graph
Directed graphs, zoom animation and bug fixes
Implemented enhancements:
- Allow nodes to override strokeColor #122
Fixed bugs:
- Custom onNodeClick handler not triggering on collapsible nodes #136
- 🐛 Global
viewGenerator
not been applied to the nodes #130
Closed issues:
- graph constantly re-rendering even when app is idle? #145
- Allow users to pass in a function in node.labelProperty #133
- Drop yarn support for development (stick to npm only) #127
- Link mouse cursor property #119
- Center graph on a specific node #102
- Links with directional arrow #88
Merged pull requests:
- Fix/right clicks #140 (danielcaldas)
- Refactor/clean link component #139 (danielcaldas)
- fix: Trigger custom click handler in collapsible nodes #137 (LonelyPrincess)
- Add Support to pass a function to node.labelProperty #135 (dgautsch)
- Support Development on Windows Machines #134 (dgautsch)
- Feature/directional graph #132 (danielcaldas)
- Global
viewGenerator
included in default config object #131 (LonelyPrincess) - Remove Yarn #128 (sasalx)
- Feature/right clicking #124 (ghardin137)
- Allow nodes to override strokeColor #123 (Andras-Simon)
- fix: #119 Add mouseCursor prop to <Link> #120 (kaungmyatlwin)
- Add onClick handler to the canvas, for use in eg. unselecting nodes #113 (smilykoch)
- Focus view on a node #107 (LonelyPrincess)
JSX Custom node views, several improvements and bug fixing
2.0.0-rc1
Closed issues:
- i want to customise node. is it possible ? #90
Merged pull requests:
- Remove snapshoot structures for nodes and links #118 (danielcaldas)
- Fix/Check for d3 config is updated #117 (danielcaldas)
- Feature/documentation overall improvements #116 (danielcaldas)
- Fix/defensive code for curve types #115 (danielcaldas)
- Fix/graph unnecessary calls to graph forces config #114 (danielcaldas)
- Customize nodes with JSX views #103 (LonelyPrincess)
Collapsible nodes, d3 configurable, d3+react as peer deps
2.0.0-rc0
Implemented enhancements:
- Directional links are placed on top of each other #89
Fixed bugs:
- Error re-rendering Graph when no
config
prop is set #81
Merged pull requests:
- Configurable graph force strength and link length #104 (LonelyPrincess) 🌟 props to @LonelyPrincess
- Fix alert message of onClickNode function in README #100 (LucienBouletRoblin)
- Fix/dependencies update #95 (danielcaldas)
- Feature/bump dependencies #92 (danielcaldas)
- Feature/bend links #91 (danielcaldas)
- Small improvement in utils/pick #87 (danielcaldas)
- fix: Graph fails to render without config prop #84 (LonelyPrincess) 🐛
- Node Collapse #83 (svipatov) 🌟 props to @svipatov
- Added overflow:hidden to container graph area #82 (svipatov)
⚠️ Warning ⚠️
From now on d3
and react
are peer dependencies, for you this means that you need to explicity add this dependencies to your package.json
and install them as well.
...
"peerDependencies": {
"d3": "^5.5.0",
"react": "^16.4.1"
},
...
Link custom color
1.3.0 (2018-06-25)
NOTE: This release contains only PR #79 cherry picked from master.
Merged pull requests:
- Customize color for a link #79 props to @LonelyPrincess 👏
Bug fixing, build links refactor, move to node 8.11.0
NOTE: This release contains only some minor fixes picked from master. Out of scope of this relase is
PR Fix/peer dependencies #70 where react and
d3 will pass to the peerDependencies block breaking installs that do not meet the restrictions of
react and d3 versions.
Fixed bugs:
- BUG: NO LINK GETS HIGHLIGHTED WHEN NODE ID IS NON-STIRNG #73 props to @iamhosseindhv for reporting
Closed issues:
- can the graph nodes and line not stacked #58
- custom add node button #57
- labelProperty not implemented? #54
- BUG: NO LINK GETS HIGHLIGHTED WHEN NODE ID IS NON-STIRNG #73
Merged pull requests:
Color for text labels, graph refactor, flexible deps versioning
Closed issues:
Merged pull requests:
- Move logic from graph component (highlight updates) #66 (danielcaldas)
- Feature/update dependencies #65 (danielcaldas)
- Add fontColor as a configuration option for node's <text> fill property #64 (dmmulroy)
Custom SVG for nodes, update webpack
Implemented enhancements:
Fixed bugs:
- Graph Rerendering #51
Merged pull requests:
- Improve naming across rd3g codebase #62 (danielcaldas)
- Feature/update webpack #61 (danielcaldas)
- Feature/provide svg for nodes #60 (danielcaldas)
- Fixing a broken link #55 (ufo2mstar)
- Feature/add prettier #53 (danielcaldas)
Bug fixes, static updates, sandbox interactive data
1.0.1
Fixed bugs:
- Graph Rendering #51
Merged pull requests:
- Fix/data updates static updates #52 (danielcaldas)
- Feature/e2e testing #50 (danielcaldas)
- Refactor/separation of concerns render + logic #49 (danielcaldas)
- Fix/install #45 (danielcaldas)
Highlight Links, bug fixing and testing
Closed issues:
Merged pull requests:
- Fix/tests coverage #44 (danielcaldas)
- Fix/on drag node handler #42 (danielcaldas)
- Feature/on mouse over and out link #40 (danielcaldas)
- Set proper defaults for Graph component config #39 (danielcaldas)
- Fix semantics mouse over methods in Graph component #38 (danielcaldas)
Highlight degree, node upgrade
Implemented enhancements:
- Node version #29
Merged pull requests:
- Refactor/improve code structure #35 (danielcaldas)
- Feature/highlight nodes degree #34 (danielcaldas)
- Update node engine version in package.json #32 (danielcaldas)
- Feature/sandbox improvements #27 (danielcaldas)