Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upHotwire `CodeSpan` to diagram-elements #10
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
lukaslueg commentedAug 15, 2018
It would be extremely useful to bidirectionally map span information to diagram elements so that
gfx_defines, which in the optimized form appears once but has two sources).This requires us to acquire, collect and map
CodeSpan-information up to the point where we generate a diagram. The code to add custom data-attributes to an SVG-element is already in place. In addition to a diagram, we also give back some form of code-map. Some JS-code can then control the blinkenlights via CSS-rules regarding the affected SVG-nodes.