On Jan 10, 9:41 pm, Alistair Marshall <runninga...@googlemail.com>
wrote:
> hi folks,
>
> I am currently trying to create an app which allows the user to
> generate flowsheets (of a chemical plant)
>
> So far I have created all the basics and allow the user to enter
> information about the individual unitsw chemicals etc and the user can
> even run a simulation.
>
> what I now want to do is create a graphical overview of the process. I
> want to be able to draw out the flowsheet to an image and perhaps even
> allow the user to click on areas of the image to be linked to that
> section of the process.
>
> Currently I have a very rough function that generates x,y coardanites
> of each unit (though this could be improved greatly). All I really
> need is a simple method of drawing lines (or arrows), saving them to a
> png, and returning the saved location.
>
> I was wondering if anyone else had a simalar drawing requirement and
> to ask what they use
>
> Thanks
> Alistair

For high-quality graphics, you should really aim at producing svg-
files ( http://www.w3.org/Graphics/SVG/ ). Last time I looked for it,
I only found early attempts of a python library for drawing svg
figures, but perhaps this one has become good enough: http://codeboje.de/pysvg/

Cheers,

Per-Olof
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to