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

diagram key (docs) #12

Open
dckc opened this issue Nov 8, 2024 · 4 comments
Open

diagram key (docs) #12

dckc opened this issue Nov 8, 2024 · 4 comments
Assignees

Comments

@dckc
Copy link
Member

dckc commented Nov 8, 2024

As a user, I want to be able to navigate (perhaps via a help/docs button) to a diagram key as as the one in Aug 23 notes:


The participants in the state diagram are vats.

image

Arrows represent messages between vats.

A solid arrow labelled:

0.1 kp13858945 <- ko1009519.fromBridge(866)

That means: at 0.1 seconds into the block, a message with method fromBridge and 866 characters of arguments was sent to kernel object ko1009519, allocating a promise kp13858945 for the result.

An arrow with kp13858945.fulfilled() means the promise was fulfilled. An arrow with kp13858945.rejected() means it was rejected.

An arrow whose tail is the left edge of the diagram means the script couldn't figure out which vat it came from. (Some messages come from the kernel.)

Yellow boxes indicate large computron counts.

image

@rabi-siddique
Copy link
Collaborator

@dckc I want to ensure I fully understand your idea. Could you elaborate a bit more on "navigate (perhaps via a help/docs button) to a diagram key"?

@rabi-siddique rabi-siddique self-assigned this Nov 21, 2024
@dckc
Copy link
Member Author

dckc commented Nov 21, 2024

I gave a suggested diagram key above. That much is clear, yes?

The rest is: add a "help" or "docs" link on https://causeway.agoric.net/ to docs that include such a diagram key. Maybe a pop-up window?

@rabi-siddique
Copy link
Collaborator

rabi-siddique commented Nov 22, 2024

I gave a suggested diagram key above. That much is clear, yes?

I might not have been at my sharpest when I first looked at it, but it’s clear to me now.

The rest is: add a "help" or "docs" link on https://causeway.agoric.net/ to docs that include such a diagram key. Maybe a pop-up window?

A popup window is not a bad option. I can try that.
Do you think it should be right next to the diagram? This is mainly so that viewers can quickly reference it without losing context.

@dckc
Copy link
Member Author

dckc commented Nov 22, 2024

Next to the diagram is fine, I expect.

Feel free to experiment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants