Unexpected behavior in graphvizit REPL when deleting arguments
dmgt opened this issue · comments
Dana Miller commented
Thank you for all your work on this tool!
Here's a behavior in the REPL @caseywatts and I encountered while testing a tutorial that uses graphvizit - the fact that the effect of formatting arguments can appear to persist after they are deleted is especially confusing for new users:
- When a line is created, it is solid by default
digraph {
"App B" -> "Postgres Instance" [color=red]
}
- The level of the value can be changed to explicitly set the line as dashed
digraph {
"App B" -> "Postgres Instance" [color=red, style=dashed]
}
- If you delete the
style
argument entirely, the line stays dashed
digraph {
"App B" -> "Postgres Instance" [color=red]
)
- There are ways around this, eg 1) reload the graphvizit page or 2) explicitly reset the style with
style=solid
, though it's still probably not the behavior (reverting to default) many users would expect.