Skip to content

Conversation

@clue
Copy link
Member

@clue clue commented Jan 5, 2020

// old
assert($graph instanceof \Graphp\Graph\Attribute\AttributeAware);
assert(is_array($graph->getAttributesBag()->getAttributes()));

// new (applies to Graph, Vertex and Edge)
assert($graph instanceof \Graphp\Graph\Entity);
assert(is_array($graph->getAttributes()));

Builds on top of #182, #185 and 186

@clue clue added this to the v1.0.0 milestone Jan 5, 2020
@clue clue merged commit 81eef65 into graphp:master Jan 5, 2020
@clue clue deleted the entity branch January 5, 2020 18:27
clue added a commit to clue-labs/graphviz that referenced this pull request Jan 8, 2020
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