Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8f9f0bf4c8 |
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
[package]
|
[package]
|
||||||
name = "grapherity"
|
name = "grapherity"
|
||||||
version = "0.2.3"
|
version = "0.2.2"
|
||||||
authors = ["Stefan Müller"]
|
authors = ["Stefan Müller"]
|
||||||
edition = "2024"
|
edition = "2024"
|
||||||
rust-version = "1.85.0"
|
rust-version = "1.85.0"
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ For more information, see the [documentation](https://docs.rs/grapherity/latest/
|
|||||||
|
|
||||||
## Example
|
## Example
|
||||||
|
|
||||||
```
|
```rust
|
||||||
// Brings commonly used traits into scope.
|
// Brings commonly used traits into scope.
|
||||||
use grapherity::prelude::*;
|
use grapherity::prelude::*;
|
||||||
use grapherity::models::Graph;
|
use grapherity::models::Graph;
|
||||||
|
|||||||
@@ -127,6 +127,8 @@
|
|||||||
//! [`GraphTopology::Vertex`]: crate::traits::GraphTopology::Vertex
|
//! [`GraphTopology::Vertex`]: crate::traits::GraphTopology::Vertex
|
||||||
//! [`GraphTopologyDeletion`]: crate::traits::GraphTopologyDeletion
|
//! [`GraphTopologyDeletion`]: crate::traits::GraphTopologyDeletion
|
||||||
|
|
||||||
|
#![warn(missing_docs)]
|
||||||
|
|
||||||
pub mod algorithms;
|
pub mod algorithms;
|
||||||
pub mod maps;
|
pub mod maps;
|
||||||
pub mod models;
|
pub mod models;
|
||||||
|
|||||||
@@ -222,7 +222,6 @@ pub trait IncidenceCursor<G: GraphTopology + ?Sized> {
|
|||||||
/// ```
|
/// ```
|
||||||
/// # use grapherity::prelude::*;
|
/// # use grapherity::prelude::*;
|
||||||
/// # use grapherity::models::Graph;
|
/// # use grapherity::models::Graph;
|
||||||
/// # use grapherity::traits::IncidenceCursor;
|
|
||||||
/// // Constructs a graph with two vertices connected to `v`.
|
/// // Constructs a graph with two vertices connected to `v`.
|
||||||
/// let mut graph = Graph::new();
|
/// let mut graph = Graph::new();
|
||||||
/// let v = graph.add_vertex();
|
/// let v = graph.add_vertex();
|
||||||
|
|||||||
Reference in New Issue
Block a user