sony / nmos-cpp

An NMOS (Networked Media Open Specifications) Registry and Node in C++ (IS-04, IS-05)
Apache License 2.0
136 stars 79 forks source link

Adding some quick ways of spinning up sources and flows with parents. #312

Closed cristian-recoseanu closed 1 year ago

cristian-recoseanu commented 1 year ago

Would it be possible to have a way of spinning up an nmos-cpp mock which can create sources and flows with parents?

It would be great for testing such scenarios with a Controller product for example.

Thanks!

garethsb commented 1 year ago

I've been thinking about this. I came up with the following graph construction, in which vertices represent signals (IS-04 Sources or Flows) and edges represent the parent relation.

I think it gives a good mix of numbers of children and parents per signal and length of ancestry in both directions.

image

I've got an implementation in mind...