# Class DGraphViewItem.view_item

    class ['a] view_item : fill:bool -> delay:bool -> view:common_view -> pos:float * float -> ops_list:XDotDraw.operation list list -> item:'a -> object .. end

ViewItem class. Group of shapes and texts
Inherits

- `GnoCanvas.group` May the item be displayed non instantaneously?

    method item : 'a

    method zoom_text : float -> unit

    method highlight : ?color:int32 * int32 -> unit -> unit

Change the color of the item. May be cancelled by `dehighlight`. If `color` is `primary,secondary`, then `primary` is used except if the current color is `primary`. In this case, `secondary` is used.

    method dehighlight : unit -> unit

Cancel `highlight`.

    method show : unit -> unit

    method hide : unit -> unit

    method center : unit -> unit

    method connect_event : callback:(GnoCanvas.item_event -> bool) -> unit

    method compute : unit -> unit

apply all delayed operations

    method lower_to_bottom : unit -> unit