Implemented enhancements:
- make node.size accept both height and width #336
Fixed bugs:
- Passing an empty data.links array throws a warning #323
- renderLabel params are not working for single node #322
- The release version does not contain some fixes #314
Closed issues:
- Docs missing collapsible sandbox example #337
- Multiple Edges between 2 nodes #335
- Ability to display node labels in different positions relative to the node center #299
Merged pull requests:
- Added ability to configure a node's width and height separately #342 (terahn)
- Bump websocket-extensions from 0.1.3 to 0.1.4 #331 (dependabot[bot])
- Misc improvements cleanup from previous PRs #327 (danielcaldas)
- Add GitHub Actions Workflow for library CI #326 (danielcaldas)
- Fix/misc documentation sandbox improvements #315 (danielcaldas)
- Feature/initial zoom #289 (Morta1)
- Reorganizing the computation of arrows and links for circle nodes #271 (antoninklopp)
Special announcement:
- After DefinitelyTyped/DefinitelyTyped#42240 being merged thanks to @hrngoode
react-d3-graph
is not available on DefinitelyTyped in case you use TypeScript. 🎉 🎉 🎉
Implemented enhancements:
- Make link end marker's width and height configurable #238
- Avoid flashing graph when drag&drop node #237
- Make
node.renderLabel
available at node level #192
Sandbox & Documentation
- Anchored links per each configuration property starting on version 2.4.0
- Deleting node is sandbox breaks the demo if the number of nodes reaches 0 #287
Fixed bugs:
- Collapsible node with no links errors out on click #292
- Deleting node is sandbox breaks the demo if the number of nodes reaches 0 #287
- onNodePositionChange doesn't always trigger #264
- Custom node example is not loading on the sandbox #252
- Not passing data.links breaks the library while it should throw a custom error #211
Closed issues:
- automaticRearrangeAfterDropNode - play button from live demo #261
- Improve live example by replacing all window.alerts by toasts or other non blocking alerts #241
- Add tooltips to sandbox playground configs #239
- Make use of jest
.toMatchSnapshot
in library unit tests #236 - link.type only can make effect in global #234
- Node drag and drop methods #204
Merged pull requests:
- Chore: Misc bug bix travis node upgrade #305 (danielcaldas)
- Fix error on collapse for node with no links #293 (vsramanujan)
- Stop node removal when node count reaches 1 #288 (pushpinder107)
- Docs: Added missing event to <Graph /> #286 (mknepprath)
- Fix typos #279 (pushpinder107)
- Adding a parameter in config to be able to disable link force #278 (antoninklopp)
- node_label changes enabled local param for renderLabel #267 (gopherine)
- fix/remove delta validation for onNodePositionChange #266 (Kav91)
- Update docs for automaticRearrangeAfterDropNode prop #262 (danielcaldas)
- Bug/custom nodes sandbox additions #256 (danielcaldas)
- Pass the event of onClickGraph to the prop #254 (jameskfry)
- local link type added #247 (gopherine)
- Fix: data links error #246 (mecm1993)
- Making Marker height and width configurable #245 (SachinVarghese)
- Feature/better sandbox alerts #244 (danielcaldas)
- Fix: Update test with .toMatchSnapshot to test UI #243 (nguyenami)
- Prevent graph flashing when dragging and dropping nodes #242 (danielcaldas)
- Feature/sandbox generate tooltips from jsdoc #240 (danielcaldas)
Merged pull requests:
- Misc refactor improvements #231 (danielcaldas)
- onNodePositionChange #228 (danielcaldas)
- Upgrade to babel7 #225 (danielcaldas)
Fixed bugs:
- Drag&Drop does not work for leaf nodes after collapsing and "uncollapsing" #223
- [Sandbox] Fail to remove links / nodes in the live demo example #212
- Error clicking nodes composed of
mdi-react
icons #201
Closed issues:
Merged pull requests:
- Fix uncollapsing nodes causes entire graph to be dragged #224 (danielcaldas)
- Fix/allow custom properties to pass on update for links #220 (danielcaldas)
- Feature/new config static graph with drag and drop #217 (danielcaldas)
- Fix/Fail to remove links / nodes in the live demo #216 (danielcaldas)
- Feature/allow pass function in link.label property #215 (danielcaldas)
- Run CI on node 10.14.0 (additionally) #214 (danielcaldas)
- Use setState to set highlightedLink #213 (danielcaldas)
Chore:
- Supporting spread operator for objects. Moving from Object.assign().
- Update cypress from
v2.1.0
tov.3.4.1
. - Use UNSAFE_componentWillReceiveProps instead of
componentWillReceiveProps
(TBD: migrate to static getDerivedStateFromProps(props, state) )
Fixed bugs:
- When using an icon from mdi-react in a node, clicking the node throws an error. #201
New features:
- onDoubleClickNode #194
Fixed bugs:
- Delete (remove) nodes and links from graph #183
Closed issues:
Merged pull requests:
- Update README.md #191 (danielcaldas)
- Specify links in Graph component update #186 (grant37)
Fixed bugs:
- Links get disappeared while dragging the nodes #180 Thanks (kbtganesh), (wendymungovan) and (prateekgoel) for reporting
Fixed bugs:
- Link Colors not used when adding to graph #169
- Node id 0 not set properly #160
- Nodes added or deleted from a graph with nodes in fixed positions will cause issues #151
- Collapsible config option can cause orphaned nodes to not be displayed #129
Closed issues:
- Reverse the direction of arrows for "directed" property #153
- viewGenerator key being dropped in config merge #142
- Links labeling #47
Merged pull requests:
- Refactor/run lint on sandbox #179 (danielcaldas)
- Feature/labels on links #178 (danielcaldas)
- fix: Add link with custom color in existing graph #170 (LonelyPrincess)
- More granular resolution of node and link parameters #166 (sauln)
- Fix/0 number id edge case #161 (danielcaldas)
- Update webpack-dev-server and react-dom #159 (danielcaldas)
- Refactor/split graph helper logic #158 (danielcaldas)
- Refactor/tooling upgrade #157 (danielcaldas)
- Feature/linting prettier improvements #156 (danielcaldas)
- Simplified test folder file structure merging "component" and "snapshot" #155 (danielcaldas)
- Fix/collapsible orphan nodes and last node #154 (danielcaldas)
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)
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)
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)
- 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)
- Added overflow:hidden to container graph area #82 (svipatov)
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
1.2.2 (2018-05-14)
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:
- Fix/mouse over link highlight #75
- Fix/link highlight id number #74
- Feature/move to node 8.11.0 #72
- Refactor/links build #69
1.2.1 (2018-04-22)
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)
1.2.0 (2018-04-01)
Implemented enhancements:
- Graph Rerendering #51
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)
1.0.1 (2018-02-18)
Fixed bugs:
- Click one node but another one moves #41
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)
1.0.0 (2017-12-02)
Closed issues:
- How can I get onMouseOverLink event? #25
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)
0.4.0 (2017-11-11)
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)
0.3.0 (2017-10-21)
Implemented enhancements:
- Squeezing if "staticGraph": true #24
Fixed bugs:
- Squeezing if "staticGraph": true #24
Merged pull requests:
- Fix/set initial static graph #26 (danielcaldas)
- Refactor/general improvements #22 (danielcaldas)
- Fix typo node.stype -> node.symbolType #21 (danielcaldas)
- Bump several dependencies to latest. New yarn.lock #20 (danielcaldas)
- Refactor/documentation revisited #19 (danielcaldas)
0.2.1 (2017-09-17)
Merged pull requests:
- Fix/remove node link scu methods #18 (danielcaldas)
- Calc proper value for node strokeWith when applying pan&zoom #17 (danielcaldas)
0.2.0 (2017-09-16)
Merged pull requests:
- Refactor/d3 tree shaking #16 (danielcaldas)
- Generate bundle stats with webpack visualizer #15 (danielcaldas)
- Feature/pan and zoom #14 (danielcaldas)
0.1.0 (2017-08-05)
Implemented enhancements:
- Adding nodes? #7
Merged pull requests:
- Refactor/sandbox improvements #12 (danielcaldas)
- Fix/default node symbol #11 (danielcaldas)
- Fix/not call graph configs inside component did update #10 (danielcaldas)
- Refactor/update graph data #9 (danielcaldas)
0.0.2 (2017-04-25)
0.0.1 (2017-04-25)
Merged pull requests:
- Feature/docs #6 (danielcaldas)
- Feature/test suite #5 (danielcaldas)
- Feature/sandbox #4 (danielcaldas)
- Feature/npm dependencies #3 (danielcaldas)
- Feature/graph component decoupling #2 (danielcaldas)
- Graph forces #1 (danielcaldas)
* This Change Log was automatically generated by github_changelog_generator