1- //! Generate files suitable for use with [Graphviz](http ://www.graphviz.org/)
1+ //! Generate files suitable for use with [Graphviz](https ://www.graphviz.org/)
22//!
33//! The `render` function generates output (e.g., an `output.dot` file) for
4- //! use with [Graphviz](http ://www.graphviz.org/) by walking a labeled
4+ //! use with [Graphviz](https ://www.graphviz.org/) by walking a labeled
55//! graph. (Graphviz can then automatically lay out the nodes and edges
66//! of the graph, and also optionally render the graph as an image or
77//! other [output formats](
8- //! http ://www.graphviz.org/content/output-formats), such as SVG.)
8+ //! https ://www.graphviz.org/content/output-formats), such as SVG.)
99//!
1010//! Rather than impose some particular graph data structure on clients,
1111//! this library exposes two traits that clients can implement on their
1212//! own structs before handing them over to the rendering function.
1313//!
1414//! Note: This library does not yet provide access to the full
1515//! expressiveness of the [DOT language](
16- //! http ://www.graphviz.org/doc/info/lang.html). For example, there are
17- //! many [attributes](http ://www.graphviz.org/content/attrs) related to
16+ //! https ://www.graphviz.org/doc/info/lang.html). For example, there are
17+ //! many [attributes](https ://www.graphviz.org/content/attrs) related to
1818//! providing layout hints (e.g., left-to-right versus top-down, which
1919//! algorithm to use, etc). The current intention of this library is to
2020//! emit a human-readable .dot file with very regular structure suitable
267267//!
268268//! # References
269269//!
270- //! * [Graphviz](http ://www.graphviz.org/)
270+ //! * [Graphviz](https ://www.graphviz.org/)
271271//!
272- //! * [DOT language](http ://www.graphviz.org/doc/info/lang.html)
272+ //! * [DOT language](https ://www.graphviz.org/doc/info/lang.html)
273273
274274#![ doc(
275275 html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/" ,
@@ -292,7 +292,7 @@ pub enum LabelText<'a> {
292292 LabelStr ( Cow < ' a , str > ) ,
293293
294294 /// This kind of label uses the graphviz label escString type:
295- /// <http ://www.graphviz.org/content/attrs#kescString>
295+ /// <https ://www.graphviz.org/content/attrs#kescString>
296296 ///
297297 /// Occurrences of backslashes (`\`) are not escaped; instead they
298298 /// are interpreted as initiating an escString escape sequence.
@@ -307,12 +307,12 @@ pub enum LabelText<'a> {
307307 /// printed exactly as given, but between `<` and `>`. **No
308308 /// escaping is performed.**
309309 ///
310- /// [html]: http ://www.graphviz.org/content/node-shapes#html
310+ /// [html]: https ://www.graphviz.org/content/node-shapes#html
311311 HtmlStr ( Cow < ' a , str > ) ,
312312}
313313
314314/// The style for a node or edge.
315- /// See <http ://www.graphviz.org/doc/info/attrs.html#k:style> for descriptions.
315+ /// See <https ://www.graphviz.org/doc/info/attrs.html#k:style> for descriptions.
316316/// Note that some of these are not valid for edges.
317317#[ derive( Copy , Clone , PartialEq , Eq , Debug ) ]
318318pub enum Style {
@@ -439,7 +439,7 @@ pub trait Labeller<'a> {
439439 /// Maps `n` to one of the [graphviz `shape` names][1]. If `None`
440440 /// is returned, no `shape` attribute is specified.
441441 ///
442- /// [1]: http ://www.graphviz.org/content/node-shapes
442+ /// [1]: https ://www.graphviz.org/content/node-shapes
443443 fn node_shape ( & ' a self , _node : & Self :: Node ) -> Option < LabelText < ' a > > {
444444 None
445445 }
0 commit comments