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

Connecting subgraphs #27

Closed
Bifrozt opened this issue Nov 12, 2016 · 5 comments
Closed

Connecting subgraphs #27

Bifrozt opened this issue Nov 12, 2016 · 5 comments
Labels

Comments

@Bifrozt
Copy link

Bifrozt commented Nov 12, 2016

I can't figure out if its possible to connect subgroups or not, if so, would it be possible to assign a time series value to the subgroup?

@jdbranham
Copy link
Owner

Hi @Bifrozt
I'm not sure. Could you draw a pic of what it might look like, and attach it here?

@Bifrozt
Copy link
Author

Bifrozt commented Nov 18, 2016

Hi @jdbranham,

Sorry for my vague question here and the tittle should say Connecting subgraphs not subgroups.

I'm collecting metrics from a network that's divided into multiple zones.
Each zone is basically identical and the same metrics is collected from each zone.
Some of these metrics will quickly tell me if there's an issue on one of the nodes within a given zone

I tried creating subgraphs for each zone and add each node in the zone to that subgroup.
This works fine for some scenarios but, for my use-case, i don't really care if one or a small number of nodes are sending metrics that indicates an issue (the rest of the zone is still operational).

Initially i had two questions

  1. How to connect one subgraph to another in the same manner as one would connect one diagram object to another
  2. How to assign a metric value to a subgraph

I've figured out how to solve 2., i didn't notice the mertic value next to the subgraph name (i.e Zone1 1.5)
subgraphs
Now im trying to find a way to set thresholds for a subgraph, this would make it easier to know when a zone is having issues.

As for 1.. I'd like to keep the layout as shown in the previous picture, nodes within a subgraph but, be able to connect the subgraphs as one would connect other elements - is this possible?
subgraphs_2

Anyways, i apologize for the confusing ticket tittle and i absolutely love this plugin - awesome work! 😄

@Bifrozt Bifrozt changed the title Connecting subgroups Connecting subgraphs Nov 18, 2016
@jdbranham
Copy link
Owner

Thank you @Bifrozt !!
I'm looking into this.

@jdbranham
Copy link
Owner

Unfortunately there is not currently a way to do this -
mermaid-js/mermaid#197

@Bifrozt
Copy link
Author

Bifrozt commented Nov 22, 2016

Unfortunately there is not currently a way to do this

I put my faith in the "not currently" will change soon 😄
Thanks for looking into this and keep up the good work!

@Bifrozt Bifrozt closed this as completed Nov 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants