![]() |
WebCGM and SVG: a comparison | Table of contents | Indexes | XML-based text &, graphics integration | ![]() |
|||
Intelligent graphics — WebCGM applications & the ATA CGM profiles |
Cruikshank, Dave ![]() |
| Dave Cruikshank |
| Associate Technical Fellow |
Seattle ![]() The Boeing Company ![]() USA ![]() Washington ![]() | The Boeing Company,
PO Box 3707 M/S 2L-17 Seattle Washington 98124-2207 USA Phone: 206 545 8876 Fax: 206 544 9878 email: david.w.cruikshank@boeing.com |
| Biography |
| Dave has spoken at several GCA sponsored conferences, including various TechDoch, SGML, and XML conferences. |
| DeWild, Andre |
| Andre DeWild |
| Supervisor, Wiring Diagram and System Schematic Production |
California ![]() San Francisco ![]() USA ![]() United Airlines | United Airlines,
MOC SFOEG San Francisco Intl Airport San Francisco California 94128-3800 USA Phone: 650 634 4990 Fax: 650 634 7070 email: andy.dewild@ual.com |
| Biography |
| Andre has spoken at GCA sponsored TechDoc and SGML conferences. |
| Abstract |
CGM, Computer Graphics Metafile ![]() | The Air Transport Association's Graphics Working Group has spent several years developingCGM profiles for graphical and intelligent graphics interchange. WebCGM is a CGM profile developed by the CGM Open consortium and approved by theW3C for use in the web environment. The WebCGM profile was derived from theATA CGM profile for graphics interchange and is designed specifically for web applications. WebCGM is a full application profile of CGM, complete with semantics for all of the CGM application structure types and attributes. The ATA interchange profiles has only recently defined semantics for their models. |
ATA, Air Transport Association ![]() W3C ![]() | There have been applications developed for WebCGM and the interoperability of WebCGM files has been demonstrated. There have been some implementations of the ATA intelligent graphics exchange profile, but because of the lack of semantics these implementations have not proved to be completely interoperable. The ATA Graphics Working Group is attempting to use the experience of the WebCGM applications to improve the interoperability of the ATA intelligent graphics model. |
XML ![]() | This paper will review the intelligent graphics models in WebCGM, the ATA graphics interchange profile (GREXCHANGE), and the ATA intelligent graphics interchange profile (IGEXCHANGE). The authors will describe an architecture showing how the ATA intelligent graphics interchange requirements can be supported by the model in WebCGM usingXML to encode the additional intelligent metadata required in the ATA models. An implementation of this architecture will be described and mechanisms for implementation will be shown. |
| GREXCHANGE IGEXCHANGE WebCGM ![]() intelligent graphics ![]() profile | Comparison of intelligent graphics models |
ATA, Air Transport Association ![]() | Over that past several years theATA Graphics Working Group has been developing an intelligent graphics interchange profile (IGEXCHANGE) based on theCGM and customized to the requirements of the industry and aligned with the structural models in theATA SGML specifications. The ATA Graphics Working Group also maintains a graphics interchangeCGM profile (GREXCHANGE). GREXCHANGE has recently been expanded to include an intelligent graphics model as an intermediate step to the full intelligent graphics model in IGEXCHANGE. In 1998, TheCGM Open Consortium developed aCGM profile (WebCGM) intended for web application use. WebCGM was based on theATA GREXCHANGE profile and is now an approved specification in theW3C . |
ATA, Air Transport Association ![]() CGM, Computer Graphics Metafile ![]() SGML ![]() W3C ![]() | To assist in the explanation of the various intelligent graphics models, they are graphically presented as structure charts with attributes attached where appropriate. The shorthand notations cho for choice, opt for optional, and rep for repeatble are used to indicate the syntactical structure of the models. Boxes that have dashed borders are further expanded by content model. The use of the term "gdata" is to describe graphical data within the content model. |
The IGEXCHANGE model |
ATA, Air Transport Association ![]() | The model describe here is a very complex one attempting to capture the structural requirements ofATA documentation. |
ATA, Air Transport Association ![]() SGML ![]() | The IGEXCHANGE model structure starts at the level of an intelligent graphic sheet or illustration. The illustration has identifier and sheet numbers attributes inherited from theATA SGML text model. An illustration is typically made up of point of reference objects (locators), various views of the component in question (details), and strings of text (paras). An optional effectivity must precede any of the other objects. |
ATA, Air Transport Association ![]() | The detail object is defined recursively and can also contain callout and para objects. In addition to the attributes associated with the locator object, the detail objects can also be identified with a particular assembly or system with theATA model. Effectivity may also be applied to this object. |
ATA, Air Transport Association ![]() SGML ![]() | Further decomposition is not carried out here, but the content models of the undescribed objects follow theATA SGML text model. |
The GREXCHANGE model |
ATA, Air Transport Association ![]() | In this model, rather than trying to capture the complexities of theATA document model, a more generic approach was taken. This approach is much easier to implement and supports its primary objective, navigation. |
| The intelligent graphics model in GREXCHANGE is a simple recursive model of a generic graphical object. |
The WebCGM model |
ATA, Air Transport Association ![]() | Based on theATA GREXCHANGE model and expanded to impose some structure, the WebCGM intelligent graphics model was designed for web applications. Its semantics are well defined and its interoperability has been demonstrated by several vendors. |
CGM, Computer Graphics Metafile ![]() | WebCGM starts at the picture body within theCGM model. In this model the picture body is made up of layers or a combination of graphical objects and paragraphs. |
ATA, Air Transport Association ![]() | The graphical object is recursively defined and can also contain paragraphs. Its attributes are similar to those defined for the grobject in theATA GREXCHANGE model. The difference here is that the reference locator attribute is replaced by a linkuri. The linkuri specifies a web address for navigation and can also contain an address fragment for extended linking into an object. |
| At the lowest level of the structure is the sub-paragraph, whose attributes are the same as the paragraph and may only contain graphical data. |
An architecture for WebCGM support for ATA models |
ATA, Air Transport Association ![]() CGM, Computer Graphics Metafile ![]() | In order to map the complexity of theATA IGEXCHANGE intelligent graphics model into that of WebCGM, one additional concept must be introduced. Many of the attributes that are associated with graphical objects are metadata that can be carried externally to the actualCGM file. In fact, some of the attributes inhibit reuse of illustrations if they are embedded in the file. |
The XML companion file |
ATA, Air Transport Association ![]() CGM, Computer Graphics Metafile ![]() | Nearly all of the attributes, including the object types, in theATA IGEXCHANGE model can be considered metadata.CGM is a graphics language that is well-suited to modelling graphical structure and content. Consider theATA GREXCHANGE intelligent graphics model where the attributes are id, name, region, refloc, viewcontext, screentip, and content. Of those attributes, id, region, and viewcontext are the three that truly associated with the display of the graphical object. The others, name, refloc, screentip, and content, may be metadata that is context dependent. That metadata could be encoded external to theCGM file along with the id to tie the two pieces of information together. |
CGM, Computer Graphics Metafile ![]() XML ![]() | UsingXML to capture the metadata has multiple benefits.XML tools to manage, access and updateXML files are more readily available thanCGM tools are. Illustrations may be reused in different applications by simply changing the associatedXML file. Query functions are easier to perform againstXML than againstCGM . |
WebCGM implementation of GREXCHANGE |
| Consider the following illustration. |
XML ![]() | The paragraph in the lower right quadrant contain the text "REFER TO SRM 51-70-12 (TYPICAL EXTRUDED SECTION REPAIRS) FOR AN ALTERNATIVE REPAIR TO RIB CHORDS" might be encoded as a grobject with an identifier of "acd" containing "SRM 51-70-12" as a child grobject with an identifier of "bcd" of the entire paragraph. The companionXML file associated with WebCGM for this might contain the following: |
...<grobject id="abc" content="REFER TO SRM 51-70-12 (TYPICAL EXTRUDED SECTION REPAIRS) FOR AN ALTERNATIVE REPAIR TO RIB CHORDS"> </grobject>... <grobject id="bcd" linkuri="http://srm.xml#51-71-12" content="SRM 51-70-12"> </grobject>... |
CGM, Computer Graphics Metafile ![]() XML ![]() | Notice that the identifiers are the link between the object in theCGM file and theXML instance. Also notice that the elements in theXML file are from the GREXCHANGE profile but the attributes available to the viewer application give a hint to its WebCGM equivalent. In addition, the elements in theXML file no longer contain the hierarchy of theCGM file structure, but are flattened out to make retrieval by identifier query easier. |
Web implementation of IGEXCHANGE |
| Again consider the same illustration: |
XML ![]() | At the upper left corner of the illustration there is a locator with a callout as it might be defined in the IGEXCHANGE profile. In WebCGM these two objects are encoded as a grobject containing a para. The locator might have the identifier of "cde" and the callout might have the identifier of "def". In WebCGM theXML file would contain the following fragment: |
...<locator id="cde" name="tail section"></locator>... <refaps id="def" linkuri="xyz.cgm#detail_I" content="SEE DETAIL I"> </refaps> |
XML ![]() | This time theXML file is made up of the element name from the IGEXCHANGE profile, but contains the attributes from WebCGM. The identifier relationship is the key for the viewer. By using the element name in theXML file associated with the identifier the requirements of IGEXCHANGE can be satisfied. |
The architectural model |
XML ![]() | The following is a high-level conceptual model for how a web browser, a graphical viewer, and anXML tool might interact in this scenario: |
Example implementation |
ATA, Air Transport Association ![]() | The presentation will contain an example of how WebCGM can be applied to theATA intelligent graphics models. |
![]() |
WebCGM and SVG: a comparison | Table of contents | Indexes | XML-based text &, graphics integration | ![]() | |||