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

making node font size a configurable option #443

Merged
merged 1 commit into from
Oct 16, 2023
Merged

making node font size a configurable option #443

merged 1 commit into from
Oct 16, 2023

Conversation

stevenweaver
Copy link
Member

@stevenweaver stevenweaver commented Sep 7, 2023

Addresses #439

New option font-size must be a number due to compatibility issues. It is always set in px.

It is configured like so:

        tree.render({
          container: "#tree_container",
          "draw-size-bubbles": false,
          "bubble-styler": d => { return 5 },
          "node-styler": node_colorizer,
          "font-size": 12,
          zoom: false,
          "edge-styler": edge_colorizer
        });

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

Successfully merging this pull request may close these issues.

1 participant