utils.scrbl: Require typed/graph in a separate place.

This commit is contained in:
Sergiu Ivanov 2022-02-08 00:10:49 +01:00
parent 0179423be9
commit 67ae415064

View file

@ -268,12 +268,18 @@ a state graph.
]}
@section{Additional graph utilities}
All examples in this section depend on @racket[typed/graph]:
@examples[#:eval utils-evaluator
(require typed/graph)
]
@defproc[(dotit [graph Graph]) Void]{
Typesets the graph via @racket[graphviz] and @racket[display]s it.
@examples[#:eval utils-evaluator
(require typed/graph)
(dotit (weighted-graph/directed '((1 a b) (2 b c))))
]}