Skip to content

Conversation

@clue
Copy link
Member

@clue clue commented Oct 9, 2019

// old
$new = $graph->createGraphClone();

// new replacement
$new = clone $graph;

// old (removed due to ambiguity and limited support)
$graph->createGraphCloneEdgeless();
$graph->createGraphCloneVertices($vertices);
$graph->createGraphCloneEdges($edges);
$graph->createVertexClone($vertex);
$graph->createEdgeClone($edge);
$graph->createEdgeCloneInverted($edge);
$graph->getEdgeClone($edge);
$graph->getEdgeCloneInverted($edge);

Among others, this done in preparation for #131 (also refs #58).
Builds on top of #177, #175 and others.

@clue clue added this to the v1.0.0 milestone Oct 9, 2019
@clue clue merged commit c20c759 into graphp:master Oct 10, 2019
@clue clue deleted the clone-graph branch November 27, 2019 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant