diff --git a/Cargo.lock b/Cargo.lock index 89cee03..b2d4fbe 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -339,7 +339,7 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "basic" -version = "0.1.2" +version = "0.1.3" dependencies = [ "eframe", "egui", @@ -738,7 +738,7 @@ dependencies = [ [[package]] name = "egui_graphs" -version = "0.1.2" +version = "0.1.3" dependencies = [ "egui", "rand", @@ -1131,7 +1131,7 @@ dependencies = [ [[package]] name = "interactive" -version = "0.1.2" +version = "0.1.3" dependencies = [ "eframe", "egui", diff --git a/Cargo.toml b/Cargo.toml index 607f8e7..f633a20 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "egui_graphs" -version = "0.1.2" +version = "0.1.3" authors = ["Dmitrii Samsonov "] license = "MIT" homepage = "https://github.com/blitzarx1/egui_graphs" diff --git a/README.md b/README.md index 3532f6b..712c9cd 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Graph visualization with rust and [egui](https://github.com/emilk/egui) ## Features * Customization and interactivity; -* Ability to draw arbitrarily complex graphs with self-references, loops, etc.; +* Arbitrarily complex graphs with self-references, multiple edges, loops, etc.; * Zoom & pan; * Dragging, Selecting; * The `GraphView` widget does not modify the provided graph and properties, instead in case of any interactions, it generates changes which the client can apply; diff --git a/examples/basic/Cargo.toml b/examples/basic/Cargo.toml index 1950776..d8da49b 100644 --- a/examples/basic/Cargo.toml +++ b/examples/basic/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "basic" -version = "0.1.2" +version = "0.1.3" authors = ["Dmitrii Samsonov "] license = "MIT" edition = "2021" diff --git a/examples/interactive/Cargo.toml b/examples/interactive/Cargo.toml index 3f69ad2..62be49f 100644 --- a/examples/interactive/Cargo.toml +++ b/examples/interactive/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "interactive" -version = "0.1.2" +version = "0.1.3" authors = ["Dmitrii Samsonov "] license = "MIT" edition = "2021" diff --git a/src/graph_view.rs b/src/graph_view.rs index da6b6df..f8a77af 100644 --- a/src/graph_view.rs +++ b/src/graph_view.rs @@ -586,6 +586,9 @@ impl<'a> GraphView<'a> { shapes.push(Shape::line_segment([tip_point, head_point_2], stroke)); if !e.selected { + quadratic_shapes.into_iter().for_each(|shape| { + p.add(shape); + }); shapes.into_iter().for_each(|shape| { p.add(shape); });