Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lifelines are cut off in sequence diagrams #6447

Open
accarvajal opened this issue Apr 1, 2025 · 0 comments
Open

lifelines are cut off in sequence diagrams #6447

accarvajal opened this issue Apr 1, 2025 · 0 comments
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect

Comments

@accarvajal
Copy link

Description

I created a md (Markdown) file containing a medium-size sequence diagram, and I'm seeing that long lifelines are cut off.

Steps to reproduce

  1. Copy the script and paste into mermaid live.
  2. . Check the diagram.

Screenshots

Image

Code Sample

%%{init: {
  'theme': 'base',
  'themeVariables': {
    'fontSize': '14px'
  },
  "sequence": {
    "mirrorActors": false,
    "bottomMarginAdj": 20,
    "messageMargin": 40,
    "boxMargin": 10,
    "noteMargin": 10
  }
} }%%
sequenceDiagram
    autonumber
    participant Official as Funcionario OT
    participant UI as SicotX UI
    participant LC as LiquidacionesController
    participant Auth as Sistema Autenticación
    participant BL as Business Logic
    participant DB as Base de Datos
    participant Rep as Sistema Reportes

    Note over Official,Rep: Inicio del proceso de liquidación

    Note over Official,UI: Usuario previamente autenticado

    Official->>UI: Inicia SicotX
    UI->>Auth: Solicita autenticación
    Auth-->>UI: Confirma autenticación

    Official->>UI: Accede a Servicios > Liquidaciones
    UI->>LC: Index()
    LC->>Auth: Valida permisos
    Auth-->>LC: Confirma permisos
    LC->>DB: Carga datos iniciales
    DB-->>LC: Retorna configuración
    LC-->>UI: Muestra página Liquidaciones

    Note over Official,Rep: Búsqueda de información

    alt Búsqueda por Placa
        Official->>UI: Ingresa placa vehículo
        UI->>LC: CargarVehiculo(placa)
        LC->>DB: Consulta datos vehículo
        DB-->>LC: Retorna info vehículo
    else Búsqueda por Persona
        Official->>UI: Ingresa ID persona
        UI->>LC: CargarPersona(id)
        LC->>DB: Consulta datos persona
        DB-->>LC: Retorna info persona
    end

    Official->>UI: Click en Buscar
    UI->>LC: CargarTramites()
    LC->>DB: Consulta estado actual
    Note over LC,DB: Verifica impuestos, procesos judiciales,<br/>intereses moratorios, multas, etc.
    DB-->>LC: Retorna estados
    LC->>BL: Determina trámites aplicables
    BL-->>LC: Retorna lista trámites
    LC-->>UI: Muestra trámites disponibles

    Note over Official,Rep: Proceso de liquidación

    Official->>UI: Selecciona trámites
    Official->>UI: Click en Liquidar

    UI->>LC: CargarRequisitos()
    LC->>DB: Consulta requisitos
    DB-->>LC: Retorna requisitos
    LC-->>UI: Muestra requisitos

    Official->>UI: Completa requisitos
    Official->>UI: Click en Calcular
    UI->>LC: LiquidarTramites()
    LC->>BL: Realiza cálculos
    Note over LC,BL: Aplica tarifas, impuestos,<br/>intereses, descuentos, etc.
    BL-->>LC: Retorna valores
    LC-->>UI: Muestra total a pagar

    Note over Official,Rep: Finalización y generación de recibo

    Official->>UI: Click en Grabar
    UI->>LC: GrabarLiquidacion()
    LC->>DB: Almacena liquidación
    DB-->>LC: Confirma grabación
    LC->>Rep: Genera recibo
    Rep-->>UI: Muestra recibo
    UI-->>Official: Imprime recibo

    Note over Official,Rep: Fin del proceso de liquidación

Setup

  • Mermaid version:
  • Browser and Version: [Chrome, Edge, Firefox]

Suggested Solutions

No response

Additional Context

No response

@accarvajal accarvajal added Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect labels Apr 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Triage Needs to be verified, categorized, etc Type: Bug / Error Something isn't working or is incorrect
Projects
None yet
Development

No branches or pull requests

1 participant