You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by GitBox <gi...@apache.org> on 2022/08/08 08:46:33 UTC

[GitHub] [echarts] mcx1230 opened a new issue, #17486: [Feature] Auto zoom graph/force to fit the size of container

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

   ### What problem does this feature solve?
   
   
   When using a force-directed graph, the size of the generated graph is larger than the size of the container, and it needs to be automatically scaled so that the complete graph can be displayed in the container.
   
   ![~(N3%LWRB2F@Y M(SHH187](https://user-images.githubusercontent.com/40031193/183377356-a58d9425-e20e-4e37-98b9-4b67367d2368.png)
   
   
   
   ### What does the proposed API look like?
   
   
   There is a similar function in gojs, the API name is zoomToFit.
   
   ![image](https://user-images.githubusercontent.com/40031193/183377679-b312cad3-16f8-4bb9-9a77-0ea7a7144307.png)


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