-struct bt_component_graph {
- struct bt_object base;
- /* Array of pointers to bt_component_connection. */
- GPtrArray *connections;
- /*
- * Array of pointers to bt_component.
- *
- * Components which were added to the graph, but have not been connected
- * yet.
- */
- GPtrArray *loose_components;
- /*
- * Array of pointers to sink bt_component.
+struct bt_graph {
+ /**
+ * A component graph contains components and point-to-point connection
+ * between these components.