GithubHelp home page GithubHelp logo

Sub-Systems ? about system-designer HOT 3 OPEN

FaBLPR avatar FaBLPR commented on July 23, 2024
Sub-Systems ?

from system-designer.

Comments (3)

ecarriou avatar ecarriou commented on July 23, 2024

Hello,

maybe it is not well documented but you can compose systems.

For example if you have created System-A and System-B systems:

Capture d’écran 2022-06-06 à 15 28 19

And then if you click on the import button you will be able to select System-B to be composed with System-A:

Capture d’écran 2022-06-06 à 15 28 37

Documentation is here. I will update it soon to add more details.

Is it what you need ?

from system-designer.

FaBLPR avatar FaBLPR commented on July 23, 2024

Thanks, this feature allows to duplicate the content of the input system into the target system, which is indeed interesting, but I was more thinking to actually reference another system as a component to have a "system of system" methodology.
Thanks !
Fabien

from system-designer.

ecarriou avatar ecarriou commented on July 23, 2024

I think that all notions that you are talking about are not yet exposed in System Designer UI, but they are implemented in System Runtime, the JavaScript lib used to run systems.

At runtime a system is a component (from _System class) and can be required like a classic component. You can see here _System model.

Capture d’écran 2022-06-06 à 22 50 44

Capture d’écran 2022-06-06 à 22 51 07

When you are in the start method of your system, this refers to the current component, the system, and so you have access to all these properties / methods / ... .

By the way a system is managed like an OSGi module, you can start / stop / install / uninstall a system on the fly. This is what I do in System Designer to install / remove extensions. System Designer is the "core" system and extensions are sub-systems that can be installed / uninstalled.

Things can be easily very complex that's why in System Designer, by default, I did not exposed this complexity. Once you know how things work, you can start to go deeper.

I think it deserves more documentation on System Designer side but you can read System Runtime documentation to understand what is under the hood.

from system-designer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.