Is it possible to use Diagram component in a command line (non-browser) app?

Hi Syncfusion team,


I have an app that allows users to create and store diagrams (via Syncfusion's diagram control). The diagram json is stored in a database.


I'd like to run some nightly operations (without user involvement) on these thousands of stored json diagrams.

- Calculate the number of nodes, connectors, custom images & other statistics for each diagram.

- Generate thumbnail images for each diagram.

- insert watermark text in each diagram.


Basically, I want to call Diagram.LoadDiagram(), Diagram.ExportDiagram() and other such methods from a command-line app (non-browser).

Is this possible? Can you please point me to any examples?


Thanks,

-Mithun




3 Replies 1 reply marked as answer

AR Aravind Ravi Syncfusion Team July 19, 2021 12:04 PM UTC

Hi Mithun, 
 
On analysis the provided query we suspect that you want to access diagram public properties and methods without opening a sample. If yes, the Syncfusion diagram is a component , it is not a library. So we cannot able to access the diagram properties without render/ open the diagram in the browser.  
 
Regards 
Aravind Ravi 


Marked as answer

MI Mithun July 19, 2021 12:43 PM UTC

Thanks for confirming Aravind.






GG Gowtham Gunashekar Syncfusion Team July 20, 2021 08:07 AM UTC

Hi Mithun, 
 
Thanks for your update. Please let us know whether you need any further assistance on this. 
 
 
Regards, 
Gowtham 


Loader.
Up arrow icon