-
-
Notifications
You must be signed in to change notification settings - Fork 6.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Diagram Factory / Generator / Template for easy adding new diagrams #4606
Comments
I almost have the list of the files need to be created/modified when creating new diagram, but it's need organizing and more details for what to be added/modified. Originally, I was planning to create it when finalizing the stuff discussed in #4499. |
|
We should also export some types from |
@Yokozuna59 I added a separate branch for this, in the main repository, so you can commit directly to it, or you may create your own branch, or use my PR as an example |
My idea is very basic. We need a feature that allows us to make a scaffold for a diagram, like
may be with some arguments, and that would result in a bunch of named files. It does not really matter if it is a new package or a list of files inside the main repository are generated |
That's also my intention, but I was referring to where we should store those files. And when running the command it would add it to |
Yep, exactly. It doesn't have to be |
Maybe renaming could be better, it doesn't has any other use right now. |
The script should handle two type of diagram templates, external and internal.
|
To simplify new diagrams creation process and force developers to create new diagrams in a standard way we need a template that would allow us to generate all required files for the diagram
The structure of generated files should match those in discussion #4499
Perhaps we could turn
mermaid-diagram-example
into a templateThe text was updated successfully, but these errors were encountered: