MedFlowGuide is a Vue application for creating and managing medical workflow visualizations with automatic layout adjustments for interactive, clear flowcharts.
MedFlowGuide simplifies the visualization of complex medical workflows. Using @vue-flow/core
for interactive flowcharts and dagre
for automated layout adjustments, this app is optimized for designing and exploring procedural workflows.
- Interactive Flowcharts: Create, modify, and navigate flowcharts dynamically.
- Automated Layouts: Uses
dagre
for clean, organized node alignment. - Customizable Components: Display rich media within nodes for enhanced context.
- Responsive Design: Powered by
bulma
for a seamless user experience.
- Node.js (version >=14)
- Yarn or npm
-
Clone the repository:
git clone https://github.com/LedoKun/MedFlowGuide.git cd MedFlowGuide
-
Install dependencies:
yarn install
-
Run the development server:
yarn serve
-
Build for production:
yarn build
-
Starting the App:
- Run
yarn serve
and openhttp://localhost:8080
in your browser.
- Run
-
Interacting with Flowcharts:
- Add and modify flowcharts through the UI.
- Navigate and reset flowcharts as needed.
-
Alignment:
- Nodes are aligned automatically for clarity, using
dagre
.
- Nodes are aligned automatically for clarity, using
- Flowchart Data: Stored in JSON format under
public/flowcharts
. You can add or edit JSON files as required.
├── public
│ ├── flowcharts # JSON files for each flowchart
│ └── index.html # Main HTML file
├── src
│ ├── assets # Images and icons
│ ├── components # Vue components
│ │ ├── NavbarComponent.vue
│ │ ├── FlowchartComponent.vue
│ │ └── RichNodeComponent.vue
│ ├── utils # Helper functions
│ │ └── UseLayout.js # Layout utility using dagre
│ ├── App.vue # Main Vue component
│ └── main.js # Entry point
└── README.md # This file
- Fork the repository.
- Create a feature branch:
git checkout -b feature/AmazingFeature
. - Commit changes:
git commit -m 'Add some amazing feature'
. - Push to the branch:
git push origin feature/AmazingFeature
. - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.