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

show containment relationships #4

Open
dhh1128 opened this issue Jan 30, 2023 · 1 comment
Open

show containment relationships #4

dhh1128 opened this issue Jan 30, 2023 · 1 comment

Comments

@dhh1128
Copy link
Member

dhh1128 commented Jan 30, 2023

When CESR attachment block begins, we see a code that says the type and the number of bytes that follow. Inside those bytes there may be a lot of interesting substructure. When the substructure ends, we'd like to show that the scope of the attachment block has also ended as well.

Possible ways to do this include:

  • indenting substructure inside the container
  • Creating nested containment boxes in the HTML output
  • Writing some kind of an open and then a close delimiter (e.g., "{" and then "}") -- has the disadvantage that it might make people think those characters exist in the actual data
  • Using partial transparency with background colors, so a container is red, the first content inside it is yellow but partly transparent, thus making it appear orange. All things inside a given box would thus be partly the color of the container.
  • Writing a virtual "end tag" when the scope of a container ends.

pictures of different options

Maybe a combination of these (indenting, partial transparency) would be best.

@dhh1128
Copy link
Member Author

dhh1128 commented Jan 31, 2023

Suggestion from @SmithSamuelM: use annotated CESR

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

1 participant