utils.scrbl: Improve the doc for dotit.
This commit is contained in:
parent
e1cf64a822
commit
45a60cd122
1 changed files with 1 additions and 2 deletions
|
@ -270,14 +270,13 @@ a state graph.
|
||||||
@section{Additional graph utilities}
|
@section{Additional graph utilities}
|
||||||
@defproc[(dotit [graph Graph]) Void]{
|
@defproc[(dotit [graph Graph]) Void]{
|
||||||
|
|
||||||
Typeset the graph via graphviz and display it.
|
Typesets the graph via @racket[graphviz] and @racket[display]s it.
|
||||||
|
|
||||||
@examples[#:eval utils-evaluator
|
@examples[#:eval utils-evaluator
|
||||||
(require typed/graph)
|
(require typed/graph)
|
||||||
(dotit (weighted-graph/directed '((1 a b) (2 b c))))
|
(dotit (weighted-graph/directed '((1 a b) (2 b c))))
|
||||||
]}
|
]}
|
||||||
|
|
||||||
|
|
||||||
@defproc[(update-vertices/unweighted [graph Graph] [func (-> Any Any)]) Graph]{
|
@defproc[(update-vertices/unweighted [graph Graph] [func (-> Any Any)]) Graph]{
|
||||||
|
|
||||||
Applies a transformation to every vertex in the unweighted graph and returns
|
Applies a transformation to every vertex in the unweighted graph and returns
|
||||||
|
|
Loading…
Reference in a new issue