question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`fromto` trace type proposal

See original GitHub issue

I’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:

  1. Gantt charts (both for the time-bars and for the dependencies!)
  2. Connected dot-plots
  3. Quiver plots
  4. The ‘link’ portion of a node-link diagram

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:9
  • Comments:10 (7 by maintainers)

github_iconTop GitHub Comments

6reactions
johentschcommented, Feb 3, 2019

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.

1reaction
nicolaskruchtencommented, Aug 7, 2018

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 😃

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found