Workflow
1. Sign in
Log in to configured
2. DragnDrop resources
- UI diagram/Graph.js dispatch DRAGnDROP
- on DRAGnDROP event -> handleDragnDrop
- Get : (getDiagramResources)
- addResourceToDiagram
- Update payload resources from toolbox to resource of AVIresource type
- armEngine.GetResourcesAndRelatedResources
- return [resources, relations]
- Set : (setDiagramResources setDiagramRelations)
- on setDiagramRelations event -> handleNewDiagramResources
- Get : (getDiagramResources getAzureSettings getDiagramRelations)
- all layout (AddDiagramResourceToDisplay)
- Set : (all (setDiagramNodes))
- UI Graph useEffect
- graph.current.elements().remove()
- graph.current.add(diagramDisplay[currentLayout].elements)
- layout.current = graph.current.makeLayout({configgraph})
- layout.current.run()