Generate PNG from .rf file

2 messages Options
Embed this post
Permalink
gairey

Generate PNG from .rf file

Reply Threaded More More options
Print post
Permalink

Is there a simple way, using the Drools API, to generate a PNG of a rule flow, given a .rf file?

Thanks,

Alan

_______________________________________________
rules-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/rules-users
Kris Verlaenen

Re: Generate PNG from .rf file

Reply Threaded More More options
Print post
Permalink
Alan,

If you use the Drools Eclipse plugin, you can easily generate a PNG by
using the custom action in the toolbar.

There's no simple way using the Drools API, as you basically need
Eclipse GEF to generate the graphical representation.  It's possible if
you add the necessary dependencies though, I suggest you check out the
ExportImageAction in the Eclipse plugin.

Kris

Quoting [hidden email]:

> Is there a simple way, using the Drools API, to generate a PNG of a
> rule
> flow, given a .rf file?
>
> Thanks,
>
> Alan
>




Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm
_______________________________________________
rules-users mailing list
[hidden email]
https://lists.jboss.org/mailman/listinfo/rules-users