-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix error when drawing undirected edge
A drawn edge was always inserted into the DOT source as a directed edge ('->') instead of an undirected edge ('--'), even if the graph was undirected. This resulted in syntax error in line <n> near '->'. Fixes #237. Note that, while being drawn, the edge is still shown with a normal arrowhead also in undirected graphs. This is due to magjac/d3-graphviz#307. Once inserted however, it will have the correct arrowhead as defined by the DOT source (explicitly or implicitly).
- Loading branch information
Showing
3 changed files
with
7 additions
and
3 deletions.
There are no files selected for viewing
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