TEMP: add subgraph component support to host side
TEMP: test example for subgraph components