NorthwoodsSoftware / GoJS

JavaScript diagramming library for interactive flowcharts, org charts, design tools, planning tools, visual languages.
http://gojs.net
Other
7.8k stars 2.86k forks source link

Ellipses/Rectangles drawing on edge of grid line, not center #176

Closed interneth3ro closed 2 years ago

interneth3ro commented 2 years ago

When drawing a rectangle or ellipse onto a grid, the shape is rendered with the top border of the shape on the edge of the grid line. However, lines are rendered on top of the grid line, which results in the following:

f16d85f7-0210-4dc7-b041-db934697e655

71709e1d-26c8-4806-b68c-019321e2ec8f

I would like to be able to make the ellipse/rectangle sit on top of the grid line the same as the lines do. I will admit, I'm not sure if this is an actual bug with the GoJS software or not, but I'm just a contractor developer on a project using GoJS and don't really have the authority to create an account on the forums representing the company. But my Google-Fu has failed me in terms of looking for a solution. So I'll risk the wrath of creating something here that may not entirely be an issue. Thanks in advance.

WalterNorthwoods commented 2 years ago

Depending on how you defined the Parts, that behavior is quite plausible.

And you are right that it is not an issue with the library or extensions or samples or documentation, so your implied question really belongs in our forum. Does your organization or client company not have a license and support contract? Send us email.