Dynamic DD... SVG and Scripting
-
Key: DD12_-7
-
Status: open
-
Source: Elparazim ( Mr. George Edward Roberts)
-
Summary:
so I like DD... DI is great... DG needs some work... DG only allows one to do static things... first of all, just cite SVG and be done with it
and don't try to redo SVG... second of all... the things I need to do in SVG requires scripting... for example, based on an enumeration
in a TaggedValue of a Stereotype on a Dependency... I need to show that dependency in a very different way then say another enumerationLiteral on that same Enumeration...so I think we have MOF and MOF models where we have some API that can be generated from them (do we have a standard for that?)... we have SVG standard (which has engines etc for tool developers)... we have ECMAScript which could be one (perhaps the default) of many scripting languages we could use in the SVG standard... we just need to be able to tie the scripting in the SVG to the model... SVG has a document element which allows it to get into the HTML and navigate that... we need a "model" element (and an api from MOF) which allows us to get into that... and then we can produce SVG outputs that have embedded scripts which allows us to do the dynamic things (i.e. based on things like EnumerationLiterals) to output the iconography for a language... this could then be a tool-independent output for every language out there that a tool could just import in along with the XMI file that defines the structure of the language...
we have needed this kind of capability for a long time now... and I think could easily fix this problem... it is been a source of incompatibility for a long time... and also would be a standard for notation for a language even if the tool vendor decided to do it in a different way than SVG
-
Reported: DD 1.1 — Fri, 4 Apr 2025 20:21 GMT
-
Updated: Wed, 9 Apr 2025 18:48 GMT