-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
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
Support for dotted links #26
Comments
I like the idea and I like the syntax! |
What is the intent for this content? sounds like fun :) |
For example a class hirarchy which shows abstract classes which inherit from their "real" parents. Or a Workflow where one path is temporary unused. (Business logic could be changing or defect) How about a organisation diagram which shows temporary workers as weak links? There are so many use cases. |
I've got a proposed solution for this. Funny thing is I figured out how to add the requisite lexer/linkStatement definitions, get passing tests for For the life of me, I cannot figure out how to add the If you can let me know where to put that in |
look in main.js in the addEdges function (row 110+). There some styles are applied. Perhaps you could apply the styles for the dotted line there. |
Hey I'm new here |
Hello @peacemaker1995 welcome. |
@knsv - I tried that one actually - the issue is that it needs to have the the property |
Thats a good point. You can create dotted lines today by using code like the one provided by @Mercurius3. The dot notation would be a shortcut. simpler notation for a similar rendering. @Anachron, you could apply styling as the one above when rendering the dotted links found during parsing. |
@cerdman How are things progressing? Still stuck? If you want I could fix the style if you commit the grammar update. If you want to continue that is fine too! |
Will look at this now |
An implementation for this is in place and will be included in next release. The solution uses the following syntax:
|
hey @knsv - yep sorry just saw this - that is as far as I got (grammar/syntax) and was pretty much the same - how did you get the style figured out? |
Fixed with release 0.3.2 |
Awesome, thanks! @knsv |
Bumps [@babel/core](https://github.com/babel/babel/tree/HEAD/packages/babel-core) from 7.14.6 to 7.14.8. - [Release notes](https://github.com/babel/babel/releases) - [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md) - [Commits](https://github.com/babel/babel/commits/v7.14.8/packages/babel-core) --- updated-dependencies: - dependency-name: "@babel/core" dependency-type: direct:development update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sometimes it would be really useful to use dotted links to specify a weak link or temporary break.
Syntax could be:
A-.->B;
The text was updated successfully, but these errors were encountered: