Skip to content
Snippets Groups Projects
topology.mli 498 B
Newer Older
(* Time-stamp: <modified the 02/04/2019 (at 13:42) by Erwan Jahier> *)
erwan's avatar
erwan committed

type node_id = string
type node = {
  id: node_id; (* The id of the node as stated in the dot file *)
  file: string; (* the content of the algo field (a cxms file) *)
  init: (string * string) list; (* store the content of the init field *)
erwan's avatar
erwan committed
}

type edge = node_id * node_id list

type t = {
  nodes: node list;
  of_id: node_id -> node;
}
erwan's avatar
erwan committed

(** Parse a sasa dot file *)
erwan's avatar
erwan committed
val read: string -> t