Stog library reference documentation : Stog_info

Module Stog_info

module Stog_info: sig .. end
Computing information from stog structure (graphs, ...).

val compute : Stog_types.stog -> Stog_types.stog
Compute internals graphs between elements.
val succ_by_date : Stog_types.stog -> Stog_types.Graph.key -> Stog_types.Graph.key option
Get the next element by date.
val pred_by_date : Stog_types.stog -> Stog_types.Graph.key -> Stog_types.Graph.key option
Get the previous element by date.
val dot_of_graph : (Stog_types.elt -> Neturl.url) -> Stog_types.stog -> string
Get graphviz code from the given stog structure, to create a graph showing edges between (clickable) elements; the edges are annotated by the topic and keywords.
val remove_not_published : Stog_types.stog -> Stog_types.stog
Remove from the stog structure the elements having Stog_types.elt.elt_published=false.