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

Realize the visualization of the new algorithm through JSON #8

Open
shihuili1218 opened this issue Jul 27, 2022 · 0 comments
Open

Realize the visualization of the new algorithm through JSON #8

shihuili1218 opened this issue Jul 27, 2022 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@shihuili1218
Copy link
Owner

shihuili1218 commented Jul 27, 2022

Now visualizing a new algorithm requires hard coding, such as: paxos

This could have been optimized into JSON to configure the visualization of the algorithm. JSON for example:

    {
        "delay": 100,
        "title": "Accept Paxos",
        "continue": "visible"
    },
    {
        "delay": 200,
        "wait": true
    },
    {
        "delay": 800,
        "title": "",
        "continue": "hidden"
    },
    {
        "delay": 800,
        "title": "",
        "create": [
            {
                "type": "client",
                "id": "X",
                "state": "proposer"
            },
            {
                "type": "node",
                "id": "P",
                "state": "proposer"
            }
        ]
    }
]```
@shihuili1218 shihuili1218 added the help wanted Extra attention is needed label Jul 27, 2022
@shihuili1218 shihuili1218 changed the title Visual configuration Realize the visualization of the new algorithm through JSON Jul 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant