use layer.id as node.key