Skip to content
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

Feature/issue 1146 dashed line for class diagram #1171

Merged
merged 5 commits into from
Jan 5, 2020

Conversation

ashishjain0512
Copy link
Collaborator

📑 Summary

This PR adds dashed-line support for class diagram relations like dependency, realization, etc.

Resolves #1146

📏 Design Decisions

Implementation follow similar JISON format like other relation definition, no changes in JISON. Make use of the relation line type which can be solid or dashed.

📋 Tasks

Make sure you

  • 📖 have read the contribution guidelines
  • 💻 have added unit/e2e tests (if appropriate)
  • 🔖 targeted develop branch

Copy link
Contributor

@jgreywolf jgreywolf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess I am confused by this. Was there already support for dashes - and it just wasn't rendering correctly?

@ashishjain0512
Copy link
Collaborator Author

ashishjain0512 commented Jan 3, 2020

I guess I am confused by this. Was there already support for dashes - and it just wasn't rendering correctly?

@jgreywolf Yes, that is correct. JISON was parsing relation line type as solid or dash but was not rendering it properly. This PR fixes that and allows proper rendering for dependency, realization relation type between classes. This has been updated in the documentation for the class diagram also.
A screengrab from local documentation server :
image

@knsv knsv merged commit f573560 into develop Jan 5, 2020
@ashishjain0512 ashishjain0512 deleted the feature/Issue-1146_Dashed_Line_For_Class_Diagram branch January 15, 2020 19:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Class: dependency (dashed line with arrow)
4 participants