IBM ILOG Dojo Diagrammer 1.1.1 API Documentation
Legend: Array Boolean Constructor Date DomNode Error Function Namespace Number Object RegExp Singleton String

ibm_ilog.diagram.gfxwidget

Object » ibm_ilog.diagram.gfxwidget
dojo.require("ibm_ilog.diagram.gfxwidget.GfxWidget");

Method Summary

  • GfxWidget() A custom GFX shape that allows to put a Dijit widget in a Dojo Diagrammer node or link.

Attached Objects

Methods

GfxWidget

The GfxWidget class is a custom GFX shape that is intended to be used in Dojo Diagrammer node and link templates to integrate Dijit widgets in nodes or links. The widget type can be specified either by specifying the dojoType property of the shape, or by passing a function as the createWidget property of the shape.

Note that this special shape has a number of limitations:

  • The widget does not zoom when the graph is zoomed (only its position will be updated).
  • The stacking order of widgets may be inconsistent with the order of their parent group shapes.
  • If the shape is used outside of a Diagram widget, the HTML element that contains the surface must have its position style set to absolute.

Example 1
See the widgets/widgets.html sample for examples.