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.

document the structure of trace modules

See original GitHub issue

Motivated by #63 … we should describe this structure somewhere in the contributor’s guide. What’s generally supposed to be the role of attributes, supplyDefaults, supplyLayoutDefaults, calc, setPositions, plot, and style (anything else?), how to tell the difference, and when each of them gets called. Without that it’s pretty hard for new people to make any meaningful contributions to the drawing code. The non-trace modules (axes, annotations, etc…) may still be too ad-hoc for this kind of doc to be useful, but I think the traces are fairly uniform by now.

Of course if this leads us to the desperately needed refactor & modularization of restyle and relayout I wouldn’t complain, but that shouldn’t stop us from documenting what we have.

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
etpinardcommented, Mar 11, 2020

Peek 2020-03-11 10-45

⬆️ gif I’ll add to the CONTRIBUTING.md doc.

1reaction
archmojcommented, Mar 4, 2020

It would be helpful to know “when each of them gets called”.

Read more comments on GitHub >

github_iconTop Results From Across the Web

System Trace Module — The Linux Kernel documentation
System Trace Module (STM) is a device described in MIPI STP specs as STP trace stream generator. STP (System Trace Protocol) is a...
Read more >
Trace operators on modules - Mathematics Stack Exchange
A trace operator is a morphism of modules End(M)tr→A such that tr(fg)=tr(gf). Tr, the set of trace operators is a submodule of HomA(End( ......
Read more >
Trace format - John Franco
A trace file has three sections: input, output, and structure. ... The field <name> is any string of contiguous characters naming the module....
Read more >
About Embedded Trace Macrocells - Arm Developer
An Embedded Trace Macrocell (ETM) is a real-time trace module providing instruction and data tracing of a processor. An ETM is an integral...
Read more >
Track & Trace - MES 2.0 Training Manual ver2 - Support
The Track and Trace module records the start and end of each production run and the materials lots consumed. This information is desirable...
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