The Spider Calculus Computing in Active Graphs