feat: +visual version

This commit is contained in:
莘权 马 2024-02-01 10:27:53 +08:00
parent fb7518c12b
commit 6b527e3020
2 changed files with 17 additions and 0 deletions

View file

@ -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