Click to see the samples:

Showing a WebCGM in the right frame
(Show source in left frame)
sample1.cgm
Identifying objects in a WebCGM
(Show source in left frame)
by ID
URL: sample1.cgm#id(myID1)
Use the ID to uniquely identify an object inside a WebCGM. 
(Show source in left frame) by name
URL: sample1.cgm#name(myObj1)
Use the name to identify objects that are not necessarily unique.
Identifying multiple objects in a WebCGM
(Show source in left frame)
by name
URL: sample2.cgm#name(myObj,highlight_all)
objects using the same name can be identified at the same time and highlighted
Navigation to an object inside a WebCGM
(Show source in left frame)
no view context
URL: sample3.cgm#name(myObj1)
If an object is used as a target it is moved into view. The actual size is not defined and dependent on the implementation.
(Show source in left frame) with view context
URL: sample4.cgm#name(myObj1,view_context)
A view context defines a rectangle around the object. The viewer will display the contents inside this rectangle if the object is the target of a link.
Using objects as hotspots
(Show source in left frame)
no region
URL: sample5.cgm
Click on the polyline to open a new window. As no region is associated with this object the line itself will  be used for hit detection.
This is especially useful on schematic drawings like wiring diagrams.
(Show source in left frame) with region
URL: sample6.cgm
Click inside the area that a user would perceive as the representation of the object. A region is present that encloses the entire object. A click inside the region is recognized as a hit, even if the mouse did not hit one of the lines.
This is a very natural way of clicking on an object for a user.
with or without region?
If the image depicts a real world object the user wants to be able to click on what he perceives to be the object. It is more user-friendly to use the region here.
The sample shows the same object with and without region.
Using screentips on objects
(Show source in left frame)
with screentip
URL: sample8.cgm
Move the mouse on top of one of the lines of the right  object. The screentip will show up.
Move the mouse inside the region of the left object. The screentip will show up.
If a region is present it will be used to detect the hit, otherwise the lines will serve for hit detection.
Objects and links
(Show source in left frame)
a link to a web address
URL: sample9.cgm
The linkURI can contain any legal URL like an HREF on an HTML page.
(Show source in left frame) a link to a local file
URL: sample10.cgm
This is a link to a local file using a registered MIME type (PDF).
(Show source in left frame) a link to a target in a local HTML file
URL: sample11.cgm
This is a link to a paragraph mark in a local HTML file
(Show source in left frame) a link to a gif file in a new window
URL: sample12.cgm
The linkURI may contain information about the target location where the content will be displayed, in this case a new window.
(Show source in left frame) a link to another object in the same cgm file
URL: sample13.cgm
These objects have links that point to each other. As both links are pointing to the same file only a fragment is used.
(Show source in left frame) a link to another object in a different file
URL: sample14.cgm
This object is linked to another object in a different file.

Author: Dieter Weidenbrueck, ITEDO Software