데이터 관계 수정 시 라우트 변경

This commit is contained in:
hyeonsu
2025-09-09 13:48:57 +09:00
parent 142cfe022b
commit 7bcd405a04
7 changed files with 244 additions and 13 deletions

View File

@@ -12,6 +12,7 @@ import {
getTableData,
getDataFlowDiagrams,
getDiagramRelationships,
getDiagramRelationshipsByRelationshipId,
copyDiagram,
deleteDiagram,
} from "../controllers/dataflowController";
@@ -108,4 +109,10 @@ router.post("/diagrams/:diagramName/copy", copyDiagram);
*/
router.delete("/diagrams/:diagramName", deleteDiagram);
// relationship_id로 관계도 관계 조회
router.get(
"/relationships/:relationshipId/diagram",
getDiagramRelationshipsByRelationshipId
);
export default router;