Drawing API
snufkin - May 29, 2007 - 20:02
The Drawing API is an abstract graphic handling API, and ships with SVG toolkit by default. It was originally written as a 2007 Google Summer of Code project. The aim of this module is to provide a parser for a FAPI-like data architecture for graphics making the display of drawings easy to understand on the back-end, without requiring the knowledge of the actual front-end toolkit that it will be rendered into. It makes it easy to generate different graphs, plots, charts, maps and so on.
Drupal 5
The Drupal 5 version contains:
- an SVG toolkit that handles the painting,
- generic drawing.module that is responsible for understanding the syntax.
- a graphing module
- demo modules, providing examples how the module can be used
Drupal 6
The Drupal 6 version is currently in development by danielb.
The Drupal 6 version contains:
- an SVG toolkit that handles svg painting,
- a GD toolkit that handles php/gif/jpg painting,
- generic drawing.module that is responsible for understanding the syntax.
- a graphing module
- demo modules, providing examples how the module can be used
SVG and browser compatibility
Ideas for application
- mapping applications
- popular topics (tags) as rectangles, size reflects the popularity of tags. collective size can be used to reflect the size of the vocabulary, with zooming this can actually be useful
- statistics on page (for administrators a quick overview on current load, comment number (flame rate), query speed and so on)
- embedded graphs (sparklines)
- provide a glue layer for Charts module.
Releases
| Development snapshots | Date | Size | Links | Status | |
|---|---|---|---|---|---|
| 6.x-2.x-dev | 2009-May-23 | 29.91 KB | Download · Release notes | Development snapshot | |
| 5.x-2.x-dev | 2007-Dec-27 | 18.62 KB | Download · Release notes | Development snapshot | |
