You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "ceon-io (via GitHub)" <gi...@apache.org> on 2024/01/02 10:48:01 UTC

[I] [Bug] Links not connected to node if node symbol type is rect [echarts]

ceon-io opened a new issue, #19458:
URL: https://github.com/apache/echarts/issues/19458

   ### Version
   
   5.4.3
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/en/editor.html
   
   ### Steps to Reproduce
   
   With graph settings (for example symbolSize: [120, 50], symbol: 'rect',... ) the arrow is hidden behind node 1 and 2. It seems the link connection(s) to the node(s) is based on a circle which should now be a rectangular (as the symbol of the node itself). 
   
   option = {
     title: {
       text: 'Basic Graph'
     },
     tooltip: {},
     animationDurationUpdate: 1500,
     animationEasingUpdate: 'quinticInOut',
     series: [
       {
         type: 'graph',
         layout: 'none',
         symbolSize: [120, 50],
         symbol: 'rect',
         roam: true,
         draggable: true,
         label: {
           show: true
         },
         edgeSymbol: ['circle', 'arrow'],
         edgeSymbolSize: [4, 10],
         edgeLabel: {
           fontSize: 20
         },
         data: [
           {
             name: 'Node 1',
             x: 300,
             y: 300
           },
           {
             name: 'Node 2',
             x: 800,
             y: 300
           },
           {
             name: 'Node 3',
             x: 550,
             y: 100
           },
           {
             name: 'Node 4',
             x: 550,
             y: 500
           }
         ],
         // links: [],
         links: [
           {
             source: 0,
             target: 1,
             symbolSize: [5, 20],
             label: {
               show: true
             },
             lineStyle: {
               width: 5,
               curveness: 0.2
             }
           },
           {
             source: 'Node 2',
             target: 'Node 1',
             label: {
               show: true
             },
             lineStyle: {
               curveness: 0.2
             }
           },
           {
             source: 'Node 1',
             target: 'Node 3'
           },
           {
             source: 'Node 2',
             target: 'Node 3'
           },
           {
             source: 'Node 2',
             target: 'Node 4'
           },
           {
             source: 'Node 1',
             target: 'Node 4'
           }
         ],
         lineStyle: {
           opacity: 0.9,
           width: 2,
           curveness: 0
         }
       }
     ]
   };
   
   ### Current Behavior
   
   Arrow of link not correctly linked to the node(s).
   
   ### Expected Behavior
   
   The arrow or link so end at the edge of the rectangular symbol/node.
   
   ### Environment
   
   ```markdown
   - OS: All
   - Browser: All
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   _No response_


-- 
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


Re: [I] [Bug] Links not connected to node if node symbol type is rect [echarts]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #19458:
URL: https://github.com/apache/echarts/issues/19458#issuecomment-3740491838

   This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!


-- 
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


Re: [I] [Bug] Links not connected to node if node symbol type is rect [echarts]

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

   same problem
   ![image](https://github.com/apache/echarts/assets/16345233/6e173292-5e29-41e4-bfa0-7ed15a2df336)
   


-- 
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


Re: [I] [Bug] Links not connected to node if node symbol type is rect [echarts]

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

   assign me this 
   


-- 
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


Re: [I] [Bug] Links not connected to node if node symbol type is rect [echarts]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] closed issue #19458: [Bug] Links not connected to node if node symbol type is rect
URL: https://github.com/apache/echarts/issues/19458


-- 
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


Re: [I] [Bug] Links not connected to node if node symbol type is rect [echarts]

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

   see related #18247


-- 
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


Re: [I] [Bug] Links not connected to node if node symbol type is rect [echarts]

Posted by "github-actions[bot] (via GitHub)" <gi...@apache.org>.
github-actions[bot] commented on issue #19458:
URL: https://github.com/apache/echarts/issues/19458#issuecomment-3712087057

   This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.


-- 
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