package pfff
Tools and APIs for program analysis, code visualization, refactoring
Install
Dune Dependency
Authors
Maintainers
Sources
0.37.7.tar.gz
md5=d069f379342be72574b4cdc52f4ed9b4
sha512=68e9971364f5e016bad8f94bb72fd15252f19c7964424992309cdb4a9fc922dbe15d07619f500f4bcbc72f820c93d4da20f0759bb4276cd073a29a179bef9300
doc/pfff-h_visualization/Treemap/index.html
Module Treemap
type ('dir, 'file) tree = ('dir, 'file) Common2.tree
type ('dir, 'file) treemap = (treemap_data * 'dir, treemap_data * 'file) tree
type treemap_rendering = treemap_rectangle list
and treemap_rectangle = {
tr_rect : Figures.rectangle;
tr_color : int;
tr_label : string;
tr_depth : int;
tr_is_node : bool;
}
val xy_ratio : float ref
val rect_ortho : unit -> Figures.rectangle
type ('a, 'b) layout_func =
(float * ('a, 'b) treemap) list ->
int ->
Figures.rectangle ->
(float * ('a, 'b) treemap * Figures.rectangle) list
val algos : algorithm list
val layoutf_of_algo : algorithm -> ('a, 'b) layout_func
val render_treemap :
?algo:algorithm ->
?big_borders:bool ->
('dir, 'file) treemap ->
treemap_rendering
val treemap_of_tree :
size_of_leaf:('file -> int) ->
color_of_leaf:('file -> Simple_color.color) ->
?label_of_file:('file -> string) ->
?label_of_dir:('dir -> string) ->
('dir, 'file) tree ->
('dir, 'file) treemap
val follow_symlinks : bool ref
val tree_of_dirs_or_files :
?filter_file:(Common.filename -> bool) ->
?filter_dir:(Common.dirname -> bool) ->
?sort:directory_sort ->
file_hook:(Common.filename -> 'a) ->
Common2.path list ->
(Common.dirname, Common.filename * 'a) tree
val remove_singleton_subdirs :
(Common.dirname, Common.filename * 'a) tree ->
(Common.dirname, Common.filename * 'a) tree
val color_of_treemap_node : ('a, 'b) treemap -> Simple_color.color
val size_of_treemap_node : ('a, 'b) treemap -> int
val s_of_algo : algorithm -> string
val algo_of_s : string -> algorithm
val tree_ex_shneiderman_1991 : (unit, int) tree
val tree_ex_wijk_1999 : (unit, int) tree
val treemap_ex_ordered_2001 : (unit, unit) treemap
val actions : unit -> Common.cmdline_actions
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>