Profile Picture

Diagram for the Web without ASP.NET

Posted By Dieter Schulten 11 Years Ago
Author
Message
Dieter Schulten
Posted 11 Years Ago
View Quick Profile
Junior Member

Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)Junior Member (10 reputation)

Group: Forum Members
Last Active: 9 Years Ago
Posts: 10, Visits: 2
Hello,

i am looking for a way to export a diagram to SVG or PNG (JPG) and have a client interaction just within javascript.
You have a lot of great examples for the web, but all of your examples are using ASP.NET.

I just want to export a diagram as SVG or Image, and use to create client interaction using javascript.
For example the user clicks on an element of the diagram in the browser an a javascript "alert" says
"You clicked the element with the id XYZ".

I am able to export a digram as SVG and can show this SVG within the browser. But i am unable to
add custom "TAGS" or "SCRIPTS" to an element of the exported SVG.

How can i add a custom TAG to shape, which can be used in javascript to do some interaction?
I need it to determine wich element the user clicked.
I a add a InteractionStyle to a shape, they dont't get exported within the SVG, so i am unable to
identify an element.

Maybe anyone has done this without ASP.NET an get me on the right way.

Regards, Dieter




Attachments
Sample.png (151 views, 268.00 KB)

Threaded View

Threaded View
Forum Post Diagram for the Web without ASP.NET By Dieter Schulten ( 11 Years Ago )


Similar Topics


Reading This Topic