Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This reverts #812 and fixes #1095:
python3-graphviz
IS available as rosdep, and produces the desired output. I don't see the necessity to use pygraphviz, unless someone can fix the code for real.Before (example_16)
![controller_diagram gv](https://private-user-images.githubusercontent.com/3367244/408714549-798c9063-0135-4f0d-b239-ce0b4ead62e2.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMTI3NjUsIm5iZiI6MTczOTAxMjQ2NSwicGF0aCI6Ii8zMzY3MjQ0LzQwODcxNDU0OS03OThjOTA2My0wMTM1LTRmMGQtYjIzOS1jZTBiNGVhZDYyZTIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDhUMTEwMTA1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZjViNWJlMjE2YzMyN2JiYjc2ZTcwNzQ5N2FjYzA2ZmYwMjQ3YWQxOTQ3MDM5MzEzYWY4YjBjY2UxZWU3ZDA3OSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.FoDPPru1SPVdjRqLjrMCZ6iLKXXJsV4IYvhZoRXfB4k)
![controller_diagram](https://private-user-images.githubusercontent.com/3367244/408788375-3837ec3e-df1f-49db-b9e0-0c005c14bece.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkwMTI3NjUsIm5iZiI6MTczOTAxMjQ2NSwicGF0aCI6Ii8zMzY3MjQ0LzQwODc4ODM3NS0zODM3ZWMzZS1kZjFmLTQ5ZGItYjllMC0wYzAwNWMxNGJlY2UucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIwOCUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMDhUMTEwMTA1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NzU3Y2U1MmM2ZjI0MWU1ZTQzZjU5OWU5YmFjNjBiNDcyNzI0ZTk4MzY4NDY0ZTc4MWQzMWRmMGY2MWE1YWNiMSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.oE2eMAtVtWt8owmWVZ-IGEAsSMdt_fmNqeC4coxwQ1Q)
After
I also added a
--save
option to save the output as PDF in the current directory instead of viewing it.There is still something wrong in the representation, I'll keep it as draft.