-
Notifications
You must be signed in to change notification settings - Fork 400
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
Adding "resources" section #1891
Comments
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey Alixander!
I've been doing lots and lots of diagrams and I struggled with something...
When you define your objects, there's no way to keep them invisible and use them later... I came across an idea of creating a section of resources; just like D2 classes but those "resources" could be based on classes too.
To help you understand the idea better, I share you a link to a diagraming tool that a friend of mine found. This tool has a resources section (coincidently LOL).
If you can implement that "resources" behavior, D2 will be strong enough to have no competitors, I have all the faith in your efforts; I wish I had the time to spare helping you coding it.
Imagine if the next scenario could be possible:
FILE: styles.d2
FILE: dogs.d2
FILE: houses.d2
FILE: diagram.d2
The previous example should compile into something like this:
It really improves the readability of what really matters: the relations, ¿Don't you think?
¿What do you say, can you implement it sometime in the future?
The text was updated successfully, but these errors were encountered: