Skip to content

Add support for decimal numbers with sequence diagram #7078

@jonathanhertz

Description

@jonathanhertz

Proposal

With a sequence diagram, it would be useful if we could use decimals for the sequence numbers. The reason for this is that I am working with some networking frameworks where servers and clients are out of sync with each other, and the client working on a variable tickrate, but the server has a constant tick rate. So everything is relative to the server, meaning that the client has "fractional" ticks. There is currently no good way to signify that with sequence diagrams.

Example

sequenceDiagram
    autonumber 10
    Server->>Client: Snapshot for tick 10
    autonumber 10.3
    Client->>Server: Command for tick 10.3

Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions