Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] ocamldot on steroids
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Maxence Guesdon <maxence.guesdon@i...>
Subject: Re: [Caml-list] ocamldot on steroids

> This looks pretty good - though the types output is so small as to be
> unreadable.  Any hints on getting the output (especially for types) to use
> multiple pages - I tried feeding it smaller sections of the code but then it
> complains of missing types.
> 
> I should say that I used the following sequence of commands:
> 
> ocamldoc -o types.dot -dot -dot-types -dot-reduce $(SOURCES)
> dot -Tps types.dot > types.ps
I usually change some options in the generated dot code, to change
the number of pages, etc ... i should add some options to ocamldoc to
generate dot code with the values of the user for the following options:
size, ratio, page, so i can compete for the tool with the longest list 
of options :-)
Check the documentation of dot:
http://www.research.att.com/~erg/graphviz/info/attrs.html#d:ratio


> Maybe there is a different renderer other than "dot"?  It seems as if any large
> program will have this problem.  What do you use to examine/print the results?
I use the options mentioned above, a ggod printer, some adhesive and i 
sit in the middle of the resulting 4meters x 4meters sheet, a litte
lost in all these dependencies :-)

--
Maxence Guesdon
-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners