Demo site for the Drawing module.

Database query graph

To give a quick overview for the running queries on pageview I wrote this small module, which again demonstrates the simplicity of writing modules using the drawing API.

How to use svg.inc as a rendering engine

This code sample shows it very clearly how you can use the svg.inc from the module package as an svg rendering engine. The example below was the code I wrote when I started to work on SVG sparklines. Click for the code.

Use case: SVG sitemap - an unusual approach

To demonstrate how easy it is to write custom modules using the Drawing module here is a piece of code that gives you a site overview page. The overview consists of representations of nodes (circles) in relation to their comments (size attribute), when they were last edited (y axis position) and how many hits they have (x axis position). It doesn't make much sense to make it live here as I have very few posts, but anyway you can check it here. It needs the statistics module enabled with page hit logging. Try it on a test site where you have loads of nodes (can be batch generated with the devel module, though in that case the creation time is the same for each).

Code:

Welcome

This is a demo site for the Drawing module for Drupal. You are very welcome to leave feedback, I will try to answer your questions as my time allows it.

On the left navigation menu you can find several demo pages, these demonstrate different potential usages for the module, ranging from graphing to displaying tags in a pie-chart format.

I will have a talk on the module on FroSCoN in Bonn, if you have suggestions what should be dicussed in the talk please leave a comment.

test3

sfdasdf

Story3

Story2

Story1

Story for tagstack

Syndicate content