When I write: I'd expect a row of three little squares fitting neatly inside a big one: But the little squares all appear shifted 10 units to th ...
When I write: I'd expect a row of three little squares fitting neatly inside a big one: But the little squares all appear shifted 10 units to th ...
I'm making drawings with the Haskell cairo binding and I want to align some object vertically. To do that, I need to know the width (the bounding box ...
I making a program to draw some vector graphics on top of a GTK program written with Haskell. I upgraded my program to the gi-gtk library in replacem ...
I need to draw arrows between two arbitrary "nodes". The arrow ends needs to enter or exit the nodes from one of the four cardinal directions: N, S, E ...
I am trying to build a POC, using Reflex and Diagrams. I am using WSL2 with Ubuntu-20.04. I've used the Reflex-stone template, which builds fine. I th ...
I am a beginner when it comes to Haskell and I have been following the quickstart tutorial for diagrams. I installed Haskell with ghcup and diagrams ...
I am trying to test Chart using the Diagrams backend (both from Stackage) with this example import Graphics.Rendering.Chart.Easy import Graphics.Ren ...
I am new to Diagrams, so I've been reading the docs, and I came upon Normalized units. This is exactly what I think I want. I am creating a Diagram, ...
I am trying to map out some data in Diagrams. I am completely new to Diagrams, but I essentially want to have a rectangle, that grows when I put other ...
I am trying to put several diagrams together in a kind of a table. I think this is called "index print", photography people do that when they have to ...
The code causes the error message I can't figure out why this happens. It seems that rayTraceP is used similarly in the manual. I use diagrams-c ...
I would like to subtract one shape from another, and then combine the resulting shape with another shape. In my example a square is to be clipped in h ...
Say I have a type Path a = Double -> a. That describes some notion of a "path" in a given type a. In my case I want to use this to draw a curve in ...
I've made a data storage symbol using B.difference and B.union. The one with the red dot in the middle. I've been trying for hours now but can't ...
I want to make a rounded line with a width equal to the diameter of a circle. After much trial and error this seems to produce the wanted output. H ...
When doing a ray trace with rayTraceP, I can find the point where a ray intersects with a diagram. I want to use this to find not only the "collisi ...
I would like to make the same program use two different Diagrams backends, notably diagrams-rasterific to generate PNGs, and diagrams-svg to generate ...
I've been working on my summer research project, and I've been using the Diagrams library to draw graphs with edges, nodes. I'm simulating the spread ...
I'm using Diagrams library to generate some text with a custom font. Looking at the documentation for Text it is not clear how can one specify particu ...
In the diagrams tutorial the following text appears: Some backends support rendering animations (typically as individually indexed files of frames ...