Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Draw2D Headless
Draw2D Headless [message #229552] Sun, 21 January 2007 17:42 Go to next message
Eclipse UserFriend
Originally posted by: anthony.cunningham.NOduolog.comSPAM

Does anyone know if it's possible to use Draw2D headless, ie without
drawing graphics on the screen. I will be using it to display also but
there will be a requirement for batch (headless) operation , ie from the
command line, where the laid out figures will be saved as SVG files.

I would be grateful for any information or experience people have had
using it in this way,

Anthony
Re: Draw2D Headless [message #229602 is a reply to message #229552] Mon, 22 January 2007 14:33 Go to previous messageGo to next message
Nhu Le is currently offline Nhu LeFriend
Messages: 47
Registered: July 2009
Member
What do you want to do in headless mode? If you are talking about
laying out figures in batch and save the result then you can probably do
it. Layout algorithms usually do not need the screen object to
calculate the layout location. You give it the model
(location/size/connection) and it will do the layout. You just take the
resulting model and save to whatever format you want.

Nhu

Anthony.Cunninghama wrote:
> Does anyone know if it's possible to use Draw2D headless, ie without
> drawing graphics on the screen. I will be using it to display also but
> there will be a requirement for batch (headless) operation , ie from the
> command line, where the laid out figures will be saved as SVG files.
>
> I would be grateful for any information or experience people have had
> using it in this way,
>
> Anthony
>
Re: Draw2D Headless [message #229610 is a reply to message #229602] Mon, 22 January 2007 16:02 Go to previous message
Eclipse UserFriend
Originally posted by: anthony.cunningham.NOduolog.comSPAM

Thanks for your reply
>What do you want to do in headless mode?
Ultimately I want to create an svg file from the laid out figure, perhaps
using batik and drawing the figures onto its canvas.
Previous Topic:fixing center of window to be 0,0 with FreeformLayer
Next Topic:When to call translateToAbsolute?
Goto Forum:
  


Current Time: Sun Oct 17 07:14:33 GMT 2021

Powered by FUDForum. Page generated in 0.01835 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top