type node_layout = {
n_name : string;
n_pos : pos;
n_bbox : bounding_box;
n_draw : Graph__.XDotDraw.operation list;
n_ldraw : Graph__.XDotDraw.operation list;
}
type cluster_layout = {
c_pos : pos;
c_bbox : bounding_box;
c_draw : Graph__.XDotDraw.operation list;
c_ldraw : Graph__.XDotDraw.operation list;
}
type edge_layout = {
e_draw : Graph__.XDotDraw.operation list;
e_ldraw : Graph__.XDotDraw.operation list;
e_hdraw : Graph__.XDotDraw.operation list;
e_tdraw : Graph__.XDotDraw.operation list;
e_hldraw : Graph__.XDotDraw.operation list;
e_tldraw : Graph__.XDotDraw.operation list;
}
val mk_node_layout :
name:string ->
pos:pos ->
bbox:bounding_box ->
draw:Graph__.XDotDraw.operation list ->
ldraw:Graph__.XDotDraw.operation list ->
node_layout
val mk_cluster_layout :
pos:pos ->
bbox:bounding_box ->
draw:Graph__.XDotDraw.operation list ->
ldraw:Graph__.XDotDraw.operation list ->
cluster_layout
val mk_edge_layout :
draw:Graph__.XDotDraw.operation list ->
ldraw:Graph__.XDotDraw.operation list ->
hdraw:Graph__.XDotDraw.operation list ->
tdraw:Graph__.XDotDraw.operation list ->
hldraw:Graph__.XDotDraw.operation list ->
tldraw:Graph__.XDotDraw.operation list ->
edge_layout
exception ParseError of string
module Make (G : sig ... end) : sig ... end
val bounding_box : (float * float) -> float -> float -> bounding_box
val read_node_layout :
(Graph__.Dot_ast.id * Graph__.Dot_ast.port option) ->
(Graph__.Dot_ast.id * Graph__.Dot_ast.id option) list list ->
node_layout
val read_edge_layout :
(Graph__.Dot_ast.id * Graph__.Dot_ast.id option) list list ->
edge_layout
val read_cluster_layout :
(Graph__.Dot_ast.id * Graph__.Dot_ast.id option) list list ->
cluster_layout