`fromto` trace type proposal
See original GitHub issueI’d like to propose a new trace type, provisionally called fromto
, which would be inspired partly by ggplot2’s geom_segment
(paging @cpsievert!)
The behaviour would be to draw onto cartesian axes a line segment from x
/ y
to xend
/yend
(all 4 being data arrays) with the ability to specify what the start/end points look like: arrows, points etc. More advanced variations might include curved lines, or manhattan lines or whatever. We would be able to reuse a lot of pre-existing machinery to do this: lines, points, arrows from annotations etc 😃
The use-cases for such a trace-type are multiple:
- Gantt charts (both for the time-bars and for the dependencies!)
- Connected dot-plots
- Quiver plots
- The ‘link’ portion of a node-link diagram
Issue Analytics
- State:
- Created 5 years ago
- Reactions:9
- Comments:10 (7 by maintainers)
Top Results From Across the Web
[Proposal] Tracing API and Interface for application level ...
Goal: allow users to leverage distributed tracing from their code, regardless of whether the request came in through Dapr. Here's a very initial...
Read more >Requirements for Additional Traceability Records for Certain ...
This proposed rule is intended to establish the framework of information needed to be maintained in traceability records to accurately and ...
Read more >Writing Planning Domains and Problems in PDDL
The plan validator is a tool that takes as input a planning problem, ... To find them, go to http://ipc.icaps-conference.org/ and follow the...
Read more >What is RFI (request for information)? - TechTarget
An RFI (request for information) is a formal process for gathering information from potential suppliers of a good or service. RFIs are intended...
Read more >Correspondence Manual - Marine Forces Reserve
(2) Guide letters are pre-drafted standard letters that contain paragraphs that you may pick from to best fit the situation for which you...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
IMHO this feature would make Plotly the greatest plotting library of all!
It has been mentioned in several places (e.g. in #147) that it is needed for professionally plotting weighted and potentially directed network plots. Not only do you want to set direction, width and color of edges (which you can awkwardly do with annotations), you also want them to be data themselves with their own hover information giving information about weights and (in the case I am currently working on) previous nodes included in the path.
Makes sense, thanks for expanding!
So I think this trace type still makes sense even if it’s just mainly aimed at connected-dot-plots of the type you made above or the more boring shared-x case. And if we build this, we give nicer JS-level (i.e. Chart Studio-level!!) support for building simple, non-automated Gantt charts, and we can refactor stuff like the figure factory (which itself doesn’t today support dependency and subtask modelling, right?), and this is a ‘building block’ trace type that can be used to approximate all sorts of other things like quiver plots, until such time as we can build out “proper” ones 😃