def append_defined_component(component, node):
    """
    Function for append components defined by user from graph metadata.
    :param component: component list
    :param node: node name
    :return: list specific components for specific node
    """
    if isinstance(component[node], list):
        return component[node]
    else:
        return [component[node]]
