asciiflow icon indicating copy to clipboard operation
asciiflow copied to clipboard

support circle

Open legitYosal opened this issue 3 years ago • 8 comments

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

legitYosal avatar Feb 13 '22 12:02 legitYosal

What would a circle look like?

Qix- avatar Feb 13 '22 12:02 Qix-

same as a square just rounding the corners

danielyrovas avatar Mar 05 '22 10:03 danielyrovas

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

legitYosal avatar Mar 06 '22 06:03 legitYosal

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

danielyrovas avatar Mar 06 '22 12:03 danielyrovas

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 avatar May 27 '22 13:05 porg

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

porg avatar May 27 '22 13:05 porg

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.

supertxtnet avatar Aug 10 '23 22:08 supertxtnet

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.

porg avatar Aug 11 '23 01:08 porg