mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-02 04:12:45 +02:00
feat: +visual version
This commit is contained in:
parent
fb7518c12b
commit
6b527e3020
2 changed files with 17 additions and 0 deletions
|
|
@ -108,3 +108,10 @@ class VisualDiGraphRepo(VisualGraphRepo):
|
|||
name = name.split(".")[-1]
|
||||
|
||||
return name
|
||||
|
||||
async def get_mermaid_sequence_view_versions(self) -> List[(str, str)]:
|
||||
sequence_views = []
|
||||
rows = await self.graph_db.select(predicate=GraphKeyword.HAS_SEQUENCE_VIEW_VER)
|
||||
for r in rows:
|
||||
sequence_views.append((r.subject, r.object_))
|
||||
return sequence_views
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue