# Class type DGraphModel.abstract_model

    class type [['a, 'b, 'c]] abstract_model = object .. end

Immutable graph model. Layout accessors, iterators and membership functions.

    method iter_edges : ('a -> 'a -> unit) -> unit

    method iter_edges_e : ('b -> unit) -> unit

    method iter_pred : ('a -> unit) -> 'a -> unit

    method iter_pred_e : ('b -> unit) -> 'a -> unit

    method iter_succ : ('a -> unit) -> 'a -> unit

    method iter_succ_e : ('b -> unit) -> 'a -> unit

    method iter_vertex : ('a -> unit) -> unit

    method iter_clusters : ('c -> unit) -> unit

    method iter_associated_vertex : ('a -> unit) -> 'a -> unit

    method find_edge : 'a -> 'a -> 'b

Membership functions

    method mem_edge : 'a -> 'a -> bool

    method mem_edge_e : 'b -> bool

    method mem_vertex : 'a -> bool

    method src : 'b -> 'a

    method dst : 'b -> 'a

    method bounding_box : XDot.bounding_box

Dot layout

    method get_edge_layout : 'b -> XDot.edge_layout

    method get_vertex_layout : 'a -> XDot.node_layout

    method get_cluster_layout : 'c -> XDot.cluster_layout