package stog
Module Stog.Info
Computing information from stog structure (graphs, ...).
val compute : Types.stog -> Types.stogCompute internals graphs between documents.
val succ_by_date : Types.stog -> Types.Graph.key -> Types.Graph.key optionGet the next document by date.
val pred_by_date : Types.stog -> Types.Graph.key -> Types.Graph.key optionGet the previous document by date.
val dot_of_graph : (Types.doc -> Url.t) -> Types.stog -> stringGet graphviz code from the given stog structure, to create a graph showing edges between (clickable) documents; the edges are annotated by the topic and keywords.
val remove_not_published : Types.stog -> Types.stogKeep in the stog structure only the documents matching the Types.stog.stog_publish_only filter, if any.