@@ -133,6 +133,7 @@ module.exports = function plot(gd, calcData) {
133133 if ( gd . _fullLayout . hovermode === false ) return ;
134134 d3 . select ( element ) . call ( linkHoveredStyle . bind ( 0 , d , sankey , true ) ) ;
135135 if ( d . link . trace . link . hoverinfo !== 'skip' ) {
136+ d . link . fullData = d . link . trace ;
136137 gd . emit ( 'plotly_hover' , {
137138 event : d3 . event ,
138139 points : [ d . link ]
@@ -156,6 +157,7 @@ module.exports = function plot(gd, calcData) {
156157 var hoverCenterY = boundingBox . top + boundingBox . height / 2 ;
157158
158159 var hovertemplateLabels = { valueLabel : d3 . format ( d . valueFormat ) ( d . link . value ) + d . valueSuffix } ;
160+ d . link . fullData = d . link . trace ;
159161
160162 var tooltip = Fx . loneHover ( {
161163 x : hoverCenterX - rootBBox . left ,
@@ -190,6 +192,7 @@ module.exports = function plot(gd, calcData) {
190192 if ( gd . _fullLayout . hovermode === false ) return ;
191193 d3 . select ( element ) . call ( linkNonHoveredStyle . bind ( 0 , d , sankey , true ) ) ;
192194 if ( d . link . trace . link . hoverinfo !== 'skip' ) {
195+ d . link . fullData = d . link . trace ;
193196 gd . emit ( 'plotly_unhover' , {
194197 event : d3 . event ,
195198 points : [ d . link ]
@@ -211,6 +214,7 @@ module.exports = function plot(gd, calcData) {
211214 if ( gd . _fullLayout . hovermode === false ) return ;
212215 d3 . select ( element ) . call ( nodeHoveredStyle , d , sankey ) ;
213216 if ( d . node . trace . node . hoverinfo !== 'skip' ) {
217+ d . node . fullData = d . node . trace ;
214218 gd . emit ( 'plotly_hover' , {
215219 event : d3 . event ,
216220 points : [ d . node ]
@@ -231,6 +235,7 @@ module.exports = function plot(gd, calcData) {
231235 var hoverCenterY = boundingBox . top + boundingBox . height / 4 - rootBBox . top ;
232236
233237 var hovertemplateLabels = { valueLabel : d3 . format ( d . valueFormat ) ( d . node . value ) + d . valueSuffix } ;
238+ d . node . fullData = d . node . trace ;
234239
235240 var tooltip = Fx . loneHover ( {
236241 x0 : hoverCenterX0 ,
@@ -266,6 +271,7 @@ module.exports = function plot(gd, calcData) {
266271 if ( gd . _fullLayout . hovermode === false ) return ;
267272 d3 . select ( element ) . call ( nodeNonHoveredStyle , d , sankey ) ;
268273 if ( d . node . trace . node . hoverinfo !== 'skip' ) {
274+ d . node . fullData = d . node . trace ;
269275 gd . emit ( 'plotly_unhover' , {
270276 event : d3 . event ,
271277 points : [ d . node ]
0 commit comments