thechiselgroup / biomixer

BioMixer
http://bio-mixer.appspot.com/
16 stars 13 forks source link

Want Thick Invisible Arc Borders? #433

Closed everbeek closed 9 years ago

everbeek commented 9 years ago

In order to allow arc hover over more easily, should I thicken the arcs invisibly? I have done this before, adding an attached shadow arc with complete transparency. I could do this for these nice SVG arcs as well, and it would add 1/3 arc complexity. That is, arcs are currently a polyline with two parts, plus a marker. Treat that as complexity of 3 (maybe 5 since the marker is 3 lines)...I could add the invisible line as a single svg line, and it wouldn't increase load much. Compared to adding arc labels, this is pretty light weight.

This is important now that we have multiple types of composition arcs, from the ontology relation properties. http://127.0.0.1:8888/conceptPathToRoot.html?gwt.codesvr=127.0.0.1:9997&initial_vis=term_neighborhood&ontology_acronym=UBERON&full_concept_id=http%3A%2F%2Fpurl.obolibrary.org%2Fobo%2FUBERON_0006591&restURLPrefix=data.bioontology.org

everbeek commented 9 years ago

Be sure to refactor mathematics of arc polyline positioning, and code if possible too. It shows up several times.

everbeek commented 9 years ago

Compared against test deployment look and behavior, seems to be just what I wanted.