question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ecosystem model diagram refers to relationship which is not implemented

See original GitHub issue

Expected Behavior

High-level ecosystem model diagram represents available relationships.

Current Behavior

In developing the system diagram map in #4502 , I realized that the dependsOn example shown in the sample model is not fully implemented in Backstage’s system model. There are partial aspects of it but it seems incomplete?

image

Possible Solution

Either:

  1. Update the diagram to remove dependsOn as a relationship type until a future time in which this relationship is fully provided by the model.
  2. Update the model to fully support it.

Steps to Reproduce

  1. View the docs
  2. Check the model types in the system: https://github.com/backstage/backstage/search?q=dependsOn and https://github.com/backstage/backstage/search?q=RELATION_DEPENDS_ON

Context

I may be wrong in terms of how it is implemented, but it does not seem to me that it would fully work, even if it’s roughed out in some constants?

Your Environment

  • NodeJS Version (v12):
  • Operating System and Version (e.g. Ubuntu 14.04):
  • Browser Information:

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
frebencommented, Feb 12, 2021

Right! I think the relation is sound, to the best of my knowledge it’s the one we decided to use for this purpose. So your solution number 2 would be appropriate. This is now a feature request ticket! 😃

We’d have to add a spec field to be able to either

  • point out resources that your component depends on, here and here, or
  • from a resource point out the components that depend on you, here and here

Or actually both could be supported! To fit different mental models or availability of source data for the field.

And then to update the relevant relation-generating processor.

1reaction
adamdmharveycommented, Mar 28, 2021

@jmgrimes Agreed; there are definitely some formatting issues with SystemDiagram, some of which may be inherent to the library used for the DependencyGraph component itself. I wasn’t really able to get it to better dynamically fit. Hoping other iterations and bug fixes can continue to improve it for sure! But your adding support for your new modelling type is wonderful, so thx for that!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ecosystem model - Wikipedia
An ecosystem model is an abstract, usually mathematical, representation of an ecological system which is studied to better understand the real system.
Read more >
Food Web: Concept and Applications | Learn Science at Scitable
Food webs describe the relationships — links or connections — among species in an ecosystem, but the relationships vary in their importance to...
Read more >
Bronfenbrenner's Ecological Systems Theory
Bronfenbrenner's ecological systems theory views child development as a complex system of relationships affected by multiple levels of the ...
Read more >
What is an ecosystem? (article) | Ecology - Khan Academy
The concepts of ecosystem and community are closely related—the difference is that an ecosystem includes the physical environment, while a community does not....
Read more >
The Social-Ecological Model: A Framework for Prevention - CDC
The second level examines close relationships that may increase the risk of experiencing violence as a victim or perpetrator. A person's closest social...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found