You can run this to get two connected components. You can ignore the nodes with predicate gtype while processing the resulting nodes.
{
node(func:eq(name, ["c","j"])) @recurse {
uid
guid_to{
}
}
}

You can run this to get two connected components. You can ignore the nodes with predicate gtype while processing the resulting nodes.
{
node(func:eq(name, ["c","j"])) @recurse {
uid
guid_to{
}
}
}
