You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "li942475402 (via GitHub)" <gi...@apache.org> on 2023/02/13 12:37:42 UTC

[GitHub] [echarts] li942475402 opened a new issue, #18265: [Bug] Update Sankey graph node, animation discontinuous

li942475402 opened a new issue, #18265:
URL: https://github.com/apache/echarts/issues/18265

   ### Version
   
   5.4.1
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/zh/editor.html?c=sankey-vertical&code=MYewdgzgLgBAJgQyggKgU2jAvDA2gKBhgG9Cj4kEAuPM8kmMBAWzRoHIF2AaGASzgcuvPlDTMAylACeAGzYNQskACcOAYgBmmgCxwdm9jAC-vOGgAOUABY0ADCe51yxRiwXsARj36CYXn1FxKTkFVyVVDW1gAFYAZjgjU3hLGxoARkdnIlcmVg5gQL92QpExSRl5GnCQZTV_LU1YhKSzVNsYTNNshjyPRJFigf5ykKrFWsiGuIA2YCaATlaUqw6AJiz6HLd8_zQijn2y4MqwmAj69nVZ-eAlxxW0mA3urd73DkNBz8DR0-rzpNLtc5otluZVjQXk43rkPv4AOYHRG_E6hAEXDQ3MEPCFPF7OAC6MPIsj4YAA1hAaARYTAICAAK4qYAeYQwZAqBFoKAcby8ABuCFkjIUM02W1cDOZrKEPk53N5_lKMCFIoUOgl9ClTJZHn5HIQXJ5HGGatFNDiWpc9N1sv8BoVJr2PnNCitr0ltplHhVTqV7C-quFFpgHpJ2u9eoK8qNio4SMFIYUXSJZE9pHoiGQNJ6cN2nGRheOFXREzqUV0-kMuPa9mt2z6fKLBqCpfGNQrDWi8UStchnQb7wLKoEMZLYzOmO7TV74Lrg89kab_mGY9XqPbU6BWNBd3nA-heZ2HiOvkOm8nGJ30z392SePWQ_zHiD68Dl_-5amV2x-_7-LPieCZFomIxoh2gJdr-d4HoBxhEhGMBkpS1K0HS0rRv47L-s2SbqjQmpLjamH2sWhrGgGKpupaQGkfqsaUaarrJrRxHbPReEUfGLr4aGXRIRxdq-oxPEfnxChHhhwnjtxzrsGBNGLmmRAZs42bUOhXoruR77sm2V7fsC2h6AYcEdA47HDgx3wOp-Zadj-jTNH2D4LgJx46aOxSjn8DlQU5PYtABHQeXSOl
 rkM9mQdOMG3PebSHkBOlnu-qV-TFN5xTiblJVZL4_LZ4ngVu17QSC8XmVCyXwgpoHRdu5V_gljxPgh9DEs4KFUrm0k-nKvC4XZEk0AA7HRMnYaJ8nUaxMBEYJDCccNckBmac1SV6y0BINcbyWeSkxBN_XKtNAZBkpYVbZNJRnSBI1hiYKlPYSADc-D4CAVh8OA2AkGQEBoCofAYL1Lg9O-EAIJSaDSDwPQ6VDMNw4tMgWB4SMUrD8NvBpNKdW83VobgBNbNDfDMEgP1gAAIsyVPgBkMR2HYi3k5TUDU3TKgM2AACqFjZimzOswjIDmAA6gITzpKLbyMmAfACkDUOyCgPOQKI1M0FAKiiotsgINITJQAAkmIPOc-AaFy1sqgg2AAbKyonPAMKONbChaCGZmbwBZcCI83ADtQOwPTteQEeEvgxjvfg8iwOS5gAB5_XY72A2bjtA2qAAUucAJTYAAfP9RBfVbYAAHSA8DGC4HYhJVxpf0aeg0C4EnaDJ03GnveX33gDXQMgxADdN0TreUO3UCd2AKcT-SVL9zAzDSAAwtYRpQMPUAAPKD2AucV9TBcrwA9OfgKQLUaBV8oCK52vm_b1XioAFoqIXNdQKoCDclXAA-ioEAIAoBj3SE3QBwBrB8FkHAFQaAwDjyrgIM-ZAu7JwANRYJXnwTQMBc6YJgMXHAbcMA73kGABENgi6-yIMQnA6d0wx14DoFmdgz5AA
   
   ### Steps to Reproduce
   
   Visit the link above and wait a few seconds
   
   ### Current Behavior
   
   Nodes are redrawn each time, discontinuous animation
   
   ### Expected Behavior
   
   With the same id, simply update the style property of the node, not redraw it.When the Sankey graph data changes, the movement of nodes is tracked through animation
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   Or could please explain why have to regenerate the node every time


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] li942475402 commented on issue #18265: [Bug] Update Sankey graph node, animation discontinuous

Posted by "li942475402 (via GitHub)" <gi...@apache.org>.
li942475402 commented on issue #18265:
URL: https://github.com/apache/echarts/issues/18265#issuecomment-1429021469

   Supplement: I mean when there is morph animation, the animation only looks continuous. The Sankey chart is now updated with almost no animation


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] li942475402 commented on issue #18265: [Bug] Update Sankey graph node, animation discontinuous

Posted by "li942475402 (via GitHub)" <gi...@apache.org>.
li942475402 commented on issue #18265:
URL: https://github.com/apache/echarts/issues/18265#issuecomment-1429018024

   I delete `universalTransition` and try again:[custom sankey](https://echarts.apache.org/examples/zh/editor.html?c=sankey-vertical&code=MYewdgzgLgBAJgQyggKgU2jAvDA2gKBhgG9Cj4kEAuPM8kmMBAWzRoHIF2AaGASzgcuvPlDTMAylACeAGzYNQskACcOAYgBmmgCxwdm9jAC-vOGgAOUABY0ADCe51yxRiwXsARj36CYXn1FxKTkFVyVVDW1gAFYAZjgjU3hLGxoARkdnIlcmVg5gQL92QpExSRl5GnCQZTV_LU1YhKSzVNsYTNNshjyPRJFigf5ykKrFWsiGuIA2YCaATlaUqw6AJiz6HLd8_zQijn2y4MqwmAj69nVZ-eAlxxW0mA3urd73DkNBz8DR0-rzpNLtc5otluZVjQXk43rkPv4AOYHRG_E6hAEX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l_Rp6DQLg6doBnbcae9NffeADek-TEAt23oud5Q3dQL3YCZzP5JUsPMDMNIADC1hGlA49QAA8qPYBF7XYOlxvAD01-ApAtRoHXygIkXW-7_vdeKgAWioZcN1AVQCBuR1wAPoqBACAKAU90ht1AcAawfBZBwBUGgMA0864CCvmQPuGcADUeCN58E0DAIuuCYAVxwF3DAB95BgARDYcuQciDkJwDndMideA6HhnYK-QA), lost morph animation. How can I get morph animation without `universalTransition`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] li942475402 closed issue #18265: [Bug] Update Sankey graph node, animation discontinuous

Posted by "li942475402 (via GitHub)" <gi...@apache.org>.
li942475402 closed issue #18265: [Bug] Update Sankey graph node, animation discontinuous
URL: https://github.com/apache/echarts/issues/18265


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] li942475402 commented on issue #18265: [Bug] Update Sankey graph node, animation discontinuous

Posted by "li942475402 (via GitHub)" <gi...@apache.org>.
li942475402 commented on issue #18265:
URL: https://github.com/apache/echarts/issues/18265#issuecomment-1429019391

   I delete `universalTransition` and try again:[custom sankey](https://echarts.apache.org/examples/zh/editor.html?c=sankey-vertical&code=MYewdgzgLgBAJgQyggKgU2jAvDA2gKBhgG9Cj4kEAuPM8kmMBAWzRoHIF2AaGASzgcuvPlDTMAylACeAGzYNQskACcOAYgBmmgCxwdm9jAC-v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gvUuD074QIDFJoNIPA9DptOUgzTNvDIFgeKz9OM4tGk0p1bzdWhuDC1sSMg-j4CYyjsPw4tUso3LMtgLj-MK0TbxgCA5gAOoCE86Ta1ssgINITJQAAkmIWNq2hpv0Ko5NgAGAqk-jwDChzZvkmghmZm8AWXAiWNwK7UDsD07XkLHhL4MY734PIsDkuYAAef12O9JM227pNqgAFEXACU2AAHz_UQX1qwAdCTZMYLgdiEnXGl_Rp6DQLg6doBnbcae9NffeADek-TEAt23oud5Q3dQL3YCZzP5JUsPMDMNIADC1hGlA49QAA8qPYBF7XYOlxvAD01-ApAtRoHXygIkXW-7_vdeKgAWioZcN1AVQCBuR1wAPoqBACAKAU90ht1AcAawfBZBwBUGgMA0864CCvmQPuGcADUeCN58E0DAIuuCYAVxwF3DAB95BgARDYcuQciDkJwDndMideA6HhnYK-QA), lost morph animation. How can I get morph animation without `universalTransition`


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] li942475402 commented on issue #18265: [Bug] Update Sankey graph node, animation discontinuous

Posted by "li942475402 (via GitHub)" <gi...@apache.org>.
li942475402 commented on issue #18265:
URL: https://github.com/apache/echarts/issues/18265#issuecomment-1432604589

   solved the problem: #18278 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] li942475402 commented on issue #18265: [Bug] Update Sankey graph node, animation discontinuous

Posted by "li942475402 (via GitHub)" <gi...@apache.org>.
li942475402 commented on issue #18265:
URL: https://github.com/apache/echarts/issues/18265#issuecomment-1427928159

   fix it: Sankey diagram itself has no updated animation, The animation is caused by [universalTransition](https://echarts.apache.org/zh/option.html#series-bar.universalTransition). But the cause of the discontinuity is still not found


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


[GitHub] [echarts] helgasoft commented on issue #18265: [Bug] Update Sankey graph node, animation discontinuous

Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #18265:
URL: https://github.com/apache/echarts/issues/18265#issuecomment-1428527100

   yes, _universalTransition_ is not listed as option in [sankey](https://echarts.apache.org/en/option.html#tooltip.trigger), so it should not be used.  
   Without _universalTransition_ the transition and animation look correct. Where is the _discontinuity_ ?
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org