Added to the Show command a -wireshape <graphviz-shape> flag. #4252
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 PR adds the flag
-wireshape <graphviz-shape>
to the Show command and allows to control the shape of wire nodes in the generated graph. The default behavior of using a diamond shape stays the same. The motivation is to allow users to reduce the visual load of wires.Before (also the new default behavior and with -wireshape diamond)
![_before](https://private-user-images.githubusercontent.com/2184769/309496418-3341ce19-a9da-49d4-a4c3-91fd92f72900.svg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyOTE4NzYsIm5iZiI6MTczOTI5MTU3NiwicGF0aCI6Ii8yMTg0NzY5LzMwOTQ5NjQxOC0zMzQxY2UxOS1hOWRhLTQ5ZDQtYTRjMy05MWZkOTJmNzI5MDAuc3ZnP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTFUMTYzMjU2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZjU0OTQyZDBjNzE1NjE0YmFhNmUzNTZlMTA0YmY0MDY3N2UyZWFkNDkxYmM3ZGI2MDNhZjI3MmQ5ZmJjNDI3ZCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.ycuBUmLk3rcxmSEuMbJCvF1R20HJkAJBu-wtX9I-nRk)
After, with -wireshape plaintext.
![_plaintext](https://private-user-images.githubusercontent.com/2184769/309496415-435f1d3f-91df-421c-bf4a-45c350beb904.svg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzkyOTE4NzYsIm5iZiI6MTczOTI5MTU3NiwicGF0aCI6Ii8yMTg0NzY5LzMwOTQ5NjQxNS00MzVmMWQzZi05MWRmLTQyMWMtYmY0YS00NWMzNTBiZWI5MDQuc3ZnP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxMSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTFUMTYzMjU2WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ODg4NTI5OGVlNzNlYzgzNmFmNDAzMWQ4Yjg3MmZkMTdhOTdmMWJmNGVmYjUzNzc2ZmYzNTE3YjU1NWQwMjFlMCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.79bpv5IhhxeMJt7uiMvfwxBerUKtNDzE9baLxjx3A6M)
Dot files
Archive.zip