Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NonlinearFactorGraph saveGraph #632

Merged
merged 2 commits into from
Dec 8, 2020
Merged

Conversation

varunagrawal
Copy link
Collaborator

Function to save graph as graphviz file via wrapper.

@varunagrawal varunagrawal added feature New proposed feature python Related to python wrapper quick-review Quick and easy PR to review labels Dec 5, 2020
@varunagrawal varunagrawal self-assigned this Dec 5, 2020
@@ -115,6 +115,11 @@ namespace gtsam {
void saveGraph(std::ostream& stm, const Values& values = Values(),
const GraphvizFormatting& graphvizFormatting = GraphvizFormatting(),
const KeyFormatter& keyFormatter = DefaultKeyFormatter) const;

/** Write the graph in GraphViz format to file for visualization */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mention that this is only here to make wrapping possible, as wrapped languages do not have access to C++ streams.

@varunagrawal varunagrawal merged commit 79aedfb into develop Dec 8, 2020
@varunagrawal varunagrawal deleted the feature/nlfg-saveGraph branch December 8, 2020 15:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New proposed feature python Related to python wrapper quick-review Quick and easy PR to review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants