function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
vasvas 

visualforce pages with graphics

I'm wondering how to go about building visualforce pages with graphics. My graphics are like flow diagrams or hierarchical diagrams (like org charts). Does Force.com platform offer any drawing tools/API to draw shapes like line, rectangle, connectors etc?

I searched for apps on AppExchange and the closest I found, to what I need, was OrgView from DreamFactory but it doesn't meet all my requirements. OrgView just allows you to generate org charts on contacts or accounts using their relationships but thats about it. I need to be able to generate more complex diagrams using data from various objects including custom objects.

 

Any pointers would be appreciated. Thanks in advance.

JeremyKraybillJeremyKraybill

VisualForce does not include any graphics API's. Your options for dynamically generated images are going to be something like:

 

- embedded flash app to do your image creation

- external web service call to generate your images and then pull in their source URL and embed that in your page

- JavaScript-based drawing package, something like cogmap.com uses

 

HTH

Jeremy Kraybill

Austin, TX

vasvas
Thanks for the response. Will look into those options.