Skip to content
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

support circle #229

Open
legitYosal opened this issue Feb 13, 2022 · 8 comments
Open

support circle #229

legitYosal opened this issue Feb 13, 2022 · 8 comments

Comments

@legitYosal
Copy link

Ascii flow is awesome, but unfortunately, there are not many features, is there any way to support creating a circle??

@Qix-
Copy link
Collaborator

Qix- commented Feb 13, 2022

What would a circle look like?

@danielyrovas
Copy link

same as a square just rounding the corners

@legitYosal
Copy link
Author

Now, I think that creating a circle in a grid is not that perfect, or what daniel said is not very practical.
In the first place, The reason I think we need this is because when I am designing with a diagram tool I will use different shapes for different types of components, for example, squares for services, and circles for data storage and databases. In Asciiflow there is just one type of shape, if only there could be more somehow...

@danielyrovas
Copy link

yeah a diamond or squircle or circle would be pretty nice for UML or other flow diagrams

@porg
Copy link

porg commented May 27, 2022

Additional function for all shape features

  • All of these shapes (rect/square, oval/circle, triangle, diamon, etc) while being created/resized should work in conjunction with modifier keys to enforce/maintain a certain aspect ratio.

Simply follow the conventions as usual in design apps.

  • ALT down, then click, then drag → The first click is the center point.
  • SHIFT down while creating object → Enforce 1:1 aspect ratio (circe, square, same-sided-triangle)
  • SHIFT down while dragging corner of extsing object → Maintain given aspect ratio.
  • SHIFT down while moving an object → Move only along a 0° or 45° or 90° axis.

@porg
Copy link

porg commented May 27, 2022

Circle was a part of #71 which back then was turned down. But meanwhile the architecture may have come further.

@supertxtnet
Copy link

Svgbob has a nice specification for circles of various radii. https://ivanceras.github.io/content/Svgbob/Circles.html

It'd be great if you could use a circle tool to select the center and drag to increase the radius.

@porg
Copy link

porg commented Aug 11, 2023

I proposed differentiated circle drawing modes by using modifier keys. With them your desired workflow would work with:

ALT down, then click, then drag → The first click is the center point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants