bramp / bramp/js-sequence-diagrams

Arrows Not Working

Open
#97 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
7.8k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

There is at least one case when arrows don't work, similar to #78.

This looks to be Raphael issue, the cause is `` tag in HTML document's header.

In SVG arrows (_markers_) are drawn in background like `background: url(#marker-bla-bla-bla);`, which references another element where the marker is defined `` tag is used, this messes up the the background URL reference by fragment.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the arrow failure in a document that uses a tag, then trace how Raphael renders SVG markers and resolves the fragment in the background URL. The issue mentions no files or tests, so first locate the marker-rendering entry point and verify that arrows work with and without before defining the fix.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.