Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
richelbilderbeek
committed
Dec 24, 2016
1 parent
e10030b
commit 072436f
Showing
13 changed files
with
1,233 additions
and
23 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "custom_and_selectable_vertices_writer.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
#ifndef BUNDLED_EDGES_WRITER_H | ||
#define BUNDLED_EDGES_WRITER_H | ||
|
||
#ifndef BOOST_GRAPH_TUTORIAL_NO_GRAPHVIZ | ||
|
||
#include "bundled_edges_writer.impl" | ||
|
||
#endif //BOOST_GRAPH_TUTORIAL_NO_GRAPHVIZ | ||
|
||
#endif // BUNDLED_EDGES_WRITER_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
#include "convert_dot_to_svg.h" | ||
|
||
#ifndef BOOST_GRAPH_TUTORIAL_NO_GRAPHVIZ | ||
#include "convert_dot_to_svg.impl" | ||
#endif // BOOST_GRAPH_TUTORIAL_NO_GRAPHVIZ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,13 @@ | ||
#ifndef CONVERT_DOT_TO_SVG_H | ||
#define CONVERT_DOT_TO_SVG_H | ||
|
||
#ifndef BOOST_GRAPH_TUTORIAL_NO_GRAPHVIZ | ||
#include <string> | ||
|
||
void convert_dot_to_svg( | ||
const std::string& dot_filename, | ||
const std::string& svg_filename | ||
); | ||
#endif // BOOST_GRAPH_TUTORIAL_NO_GRAPHVIZ | ||
|
||
#endif // CONVERT_DOT_TO_SVG_H |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
#include "convert_dot_to_svg.h" | ||
#include <boost/test/unit_test.hpp> | ||
|
||
#ifndef BOOST_GRAPH_TUTORIAL_NO_GRAPHVIZ | ||
|
||
BOOST_AUTO_TEST_CASE(test_convert_dot_to_svg) | ||
{ | ||
BOOST_CHECK_THROW( | ||
convert_dot_to_svg("dont_exists.dot", "dont_exists.svg"), | ||
std::invalid_argument | ||
); | ||
} | ||
|
||
#endif // BOOST_GRAPH_TUTORIAL_NO_GRAPHVIZ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters