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

Diagrams for nets page #205

Open
1 of 5 tasks
jo-pol opened this issue Oct 24, 2021 · 0 comments
Open
1 of 5 tasks

Diagrams for nets page #205

jo-pol opened this issue Oct 24, 2021 · 0 comments
Labels
javascript https://www.w3schools.com/js/default.asp SVG

Comments

@jo-pol
Copy link
Collaborator

jo-pol commented Oct 24, 2021

  • The currently textual legend and diagram captions on https://d-bl.github.io/GroundForge/nets might become clearer for the user with these diagrams.

    image or more accurately image

    Same diagram, download, change txt by svg and open in your browser or vector editor
    bdpq-colors-nets.txt

    See also tell blue from green in pair diagrams #202 (comment) for the color scheme.

    • add the legend.
    • add the captions.
    • dynamically add the stitch definitions to the legend, be aware that too long definitions might overlap with the vertical lines (passive pairs), only then the textual legend can be dropped.
  • Add the colors to the pair diagrams too. Only for the nets page, the tiles page is a completely different story. Note that the stitches below don't match the ones in the legend above.
    image
    For that purpose select the (currently fully transparent) nodes and change the color depending on the content of the title (b1,b2,c1 or c2)

    <path class="node" style="fill: rgb(0, 0, 0); stroke: none; opacity: 0" ...><title>... - b2...</title></path>
    
@jo-pol jo-pol added javascript https://www.w3schools.com/js/default.asp SVG labels Oct 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
javascript https://www.w3schools.com/js/default.asp SVG
Projects
None yet
Development

No branches or pull requests

1 participant