Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions viz.md
Original file line number Diff line number Diff line change
Expand Up @@ -448,6 +448,23 @@ the `tree` group contains the ID of the tree (e.g. `t0`), the `site` group on th
contains the site ID (e.g. `s15`) the `mut` class contains the mutation ID (e.g. `m16`),
and so on.

#### CSS selector quick reference

If you don't do this all the time it's not easy to remember what the various separators
mean, so here's a quick reference (for more, see
[these docs](https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_selectors)):

- `abc` (Type `abc`, like `g` for a `<g>...</g>` tag)
- `.xyz` (Class `xyz`)
- `#uvw` (ID `uvw`)
- `,` (Selector list, means "or")
- `>` (Child combinator)
- "` `" (Descendant combinator, a space)
- `+` (Next-sibling combinator)
- `~` (Subsequent sibling combinator)
- `|` (Namespace separator)


#### Styling graphical elements

The classes above make it easy to target specific nodes or edges in one or multiple
Expand Down
Loading