-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
linkStyle classDef and link group style definition #3036
Comments
Good idea! This would simplify when styling many links. |
Does it imply it will appear as a feature in near future :-)? If the answer is Yes, how can I contribute to make it available for as many diagrams you can count? |
A minor suggestion is to group also the node styling, instead of individual definition, likeso: |
I would love to take a look a this if no one else is working on it! @knsv |
Go for it, girl! I totally support your iniciative. |
this would be useful. classDef would be logical; but how do you assign a link to a class would be the next obvious problem :) |
I am not aware of the implementation details: Is a node a renderable object? "What one fool can do, another can" |
@knsv Do we have any progress on this issue? |
I've started working on another project, so if someone wants to take a look at this issue instead of me please do :) |
Looks like the feature is already implemented, and works perfectly if we use the comma as the separator (and not space)
EDIT: the grammar does not allow to do the same for |
How to I color the arrow heads? |
Can you give an example of it in use and the appropriate diagram/export?
<edited - removed the email thread>
|
@sjackson0109 is everything alright? You seem a bit sick. |
Probably because I was half asleep when I replied @brunolnetto am fine with this: |
Your example seems precisely equal to @tomperr's. I will take it as well. In case you know how to color arrow heads, I ask you to give me a thumbs up. |
I will take a look to add the same behaviour for |
btw sorry @brunolnetto, but I don't have the answer to your question, and it does not seem to be related to this issue |
I look forward for the answer while you look for it with your binocle. |
It seems |
I see a pull request, I give 👍🏽 . I wish I could review-comment-approve it. Sad 😿 |
I wish to attribute the properties of some edges by some a priori defined classDef as it is possible to nodes. I tried to substitute the repeated properties by the defined classDef, but the configuration does not apply. An alternative to avoid repetition is by group similar edges likeso
linkStyle 0, 1, 4, 6, 7, 8, 9 stroke:gold, stroke-width:4px
. The syntax, however, is not available.The text was updated successfully, but these errors were encountered: