-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature]: support "table" shape #3671
Comments
I would try to give my proposal on how it could be implemented. I think this should work similar to how we draw a Rectangle shape.
For a Table shape, we can do the same
Note that it could work even if the user doesn't enable "Preferences > Show grid." After creating the table shape, the user can easily resize as usual to scale up/down for bigger/smaller cells. |
Maybe I over complicated this shape when relating it with the grid system. => I updated the original title/description with this simplification. |
What's the feature?
Currently grid is super useful in many cases. It could be enabled at "Preferences > Show grid."(Remove the initial complicated idea and replace with a new feature description as below)It would be more useful if we could select an area and convert the grid under this area into an actual shape, which is basically a table.
While interviewing I need to draw a chessboard to explain how to solve an 8-queens puzzle.
This feature could help me save 1-2 minutes in this specific case.
According to my real-life experiences, I got many similar cases, especially with a dynamic programing problem. A table with cells in arbitrary size is extremely useful.
My proposal is to create a new Table shape, which is similar to the Rectangle shape but with cells inside.
The larger the drag area, the more cells the table has.
The app should have a simple algorithm to increase/decrease the number of cells when the drag area is expanded/shrunk.
After having the table with the number of cells user want, user can easily resize the whole shape to fine tune the size of cells.
Contact Details
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: