This page describes API changes between diagrams 0.5 and 0.6, along with explanations of how to migrate to the new 0.6 API.
StyleParam deleted from Diagrams.Backend.Cairo.Text
StyleParam type has been removed from
Diagrams.Backend.Cairo.Text. Functions that used to take a
StyleParam argument now take a
Style R2 parameter, determining the style to apply to the text before rendering/querying information about the text. These parameters can be created a variety of ways, but the most direct will likely be by applying style-transforming functions such as
mempty. This works because there are instances of