Skip to content
This repository was archived by the owner on Dec 12, 2022. It is now read-only.

Conversation

kamiazya
Copy link
Member

@kamiazya kamiazya commented Aug 2, 2021

What was a problem

Since there is no way to convert AST directly to DOT language, it is necessary to go through the models of ts-graphviz at present.

How this PR fixes the problem

Provide AST.stringify function to provide a way to directly convert AST to DOT language.

  • Parameters
    • ast -- Graphviz AST node.
  • Returns
    • DOT language string.

Check lists (check x in [ ] of list items)

  • Test passed
  • Coding style (indentation, etc)

close #30

@kamiazya kamiazya added documentation Improvements or additions to documentation enhancement New feature or request labels Aug 14, 2021
@kamiazya kamiazya marked this pull request as ready for review August 14, 2021 03:16
@kamiazya kamiazya changed the title Add stringify function #30 Add stringify function Aug 14, 2021
@kamiazya kamiazya merged commit 3892c3f into main Aug 14, 2021
@kamiazya kamiazya deleted the add-stringify-function branch August 14, 2021 03:19
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

convert AST to DOT string directory
1 participant