Difference between revisions of "Diagrams"

From HaskellWiki
Jump to navigation Jump to search
(add)
(99 intermediate revisions by 5 users not shown)
Line 1: Line 1:
  +
[[Category:Graphics]]
The '''diagrams''' library provides an embedded domain-specific language (EDSL) for creating simple pictures and diagrams in Haskell
 
  +
[[Category:Libraries]]
  +
[[Category:Packages]]
   
  +
[[Image:Diagrams-logo.png]]
* [http://code.haskell.org/diagrams/ Homepage]
 
* [http://hackage.haskell.org/cgi-bin/hackage-scripts/package/diagrams diagrams on HackageDB]
 
   
 
The [http://projects.haskell.org/diagrams diagrams framework] provides an embedded domain-specific language (EDSL) for declarative drawing.
   
  +
This is the diagrams wiki, for collecting tips and tricks, examples, information about related projects, and any other related information. If you are looking for more structured documentation (tutorial, user manual, API reference), see the [http://projects.haskell.org/diagrams diagrams web page]. There are also [https://github.com/diagrams/diagrams-lib/issues?state=open bug] [https://github.com/diagrams/diagrams-core/issues?state=open trackers] for different parts of the project.
== Ideas for the rewrite ==
 
   
  +
* [[/FAQ|Frequently asked questions]]
Many Haskell graphic libraries are tied to a specific rendering backend (Cairo, OpenGL, libGD etc) which makes collaboration and reuse of code and data strcutreus very hard or impossible.
 
  +
* [[/Install|Installation instructions]]
  +
* [[/Contributing|How to contribute]]
  +
* [[/Projects|Projects]]: who is working on what.
  +
* [[/GSoC|Google Summer of Code projects]]
   
  +
* [[/Support|Which versions of GHC and Haskell Platform are supported]]
* seperate packages for
 
  +
** high-level code (constraint solving)
 
  +
* [[/Dev/Migrate0.7|0.6 to 0.7 migration]]: Description of API changes that may affect diagrams 0.6 code, with explanations of how to migrate to 0.7
** low-level graphical primitives (rectangles, polygons, paths, etc)
 
  +
* [[/Dev/Migrate1.0|0.7 to 1.0 migration]]: Description of API changes that may affect diagrams 0.7 code, with explanations of how to migrate to 1.0
*** imho there should be primitive shape typeclass like circles and rectangles having a "convertToPath" function. Backends like SVG can then choose to use a primitive like a rectangle as a polygon or a rectangle
 
  +
* [[/Dev/Migrate1.1|1.0 to 1.1 migration]]: Description of API changes that may affect diagrams 1.0 code, with explanations of how to migrate to 1.1
** conversion backends
 
  +
* [[/Dev/Migrate1.2|1.1 to 1.2 migration]]: Description of API changes that may affect diagrams 1.1 code, with explanations of how to migrate to 1.2
*** interactive painting via Cairo
 
  +
* [[/Dev/Migrate1.3|1.2 to 1.3 migration]]: Description of API changes that may affect diagrams 1.2 code, with explanations of how to migrate to 1.3
*** pure Haskell PDF conversion via HPDF
 
  +
*** pure Haskell PNG conversion via ???
 
  +
* [[/Dev|Developer wiki]]: notes on wanted features, style guidelines, best practices, etc.
*** etc.
 
  +
  +
* [[/Dev/BuildStatus|Build status]] of all diagrams packages at a glance.
  +
* [http://projects.haskell.org/diagrams/backend-tests/all-index.html Current test case results for backends side-by-side.]

Revision as of 16:00, 28 January 2015


Diagrams-logo.png

The diagrams framework provides an embedded domain-specific language (EDSL) for declarative drawing.

This is the diagrams wiki, for collecting tips and tricks, examples, information about related projects, and any other related information. If you are looking for more structured documentation (tutorial, user manual, API reference), see the diagrams web page. There are also bug trackers for different parts of the project.

  • 0.6 to 0.7 migration: Description of API changes that may affect diagrams 0.6 code, with explanations of how to migrate to 0.7
  • 0.7 to 1.0 migration: Description of API changes that may affect diagrams 0.7 code, with explanations of how to migrate to 1.0
  • 1.0 to 1.1 migration: Description of API changes that may affect diagrams 1.0 code, with explanations of how to migrate to 1.1
  • 1.1 to 1.2 migration: Description of API changes that may affect diagrams 1.1 code, with explanations of how to migrate to 1.2
  • 1.2 to 1.3 migration: Description of API changes that may affect diagrams 1.2 code, with explanations of how to migrate to 1.3
  • Developer wiki: notes on wanted features, style guidelines, best practices, etc.