Difference between revisions of "Toolbox/PR2"

From Audacity Wiki
Jump to: navigation, search
(Live demo)
(explanations.)
Line 24: Line 24:
 
* Support for SVG Images, and opacity.  A gotcha was that SVG text is not supported.
 
* Support for SVG Images, and opacity.  A gotcha was that SVG text is not supported.
 
* Better hyperlinks, easier to use, automatically generatable into templates for tip text.
 
* Better hyperlinks, easier to use, automatically generatable into templates for tip text.
* Additional styles; Blunt arrows, more metro-like stations on snake diagrams.
+
* Additional styles; Blunt arrows (for inhibition of a step), more metro-like stations on snake diagrams.
* Programmatic modification of a diagram, after loading.
+
* Programmatic modification of a diagram, after loading (used currently to highlight sections).
 
* Convenience objects - 'Spacer' to help with layout. 'Tile' combines image, text and rectangle.
 
* Convenience objects - 'Spacer' to help with layout. 'Tile' combines image, text and rectangle.
  

Revision as of 21:29, 31 March 2020

Progress Report 2

For start of April 2020

Parallels: Biochemistry and Code

Some of the diagram types are now used for both biochemistry (left) and source code (right). WikidiagramsComparison.png

The three types of diagram each have the large tooltips, so more information is available from an image than in conventional images and plots. The diagrams are becoming more flexible, with more styles for arrows, bars, labels and markers, and work in progress on unifying the approach so that the styles behave 'the same' on different diagrams.


KWIC Browser

I've added a Keyword in Context Browser. It speeds navigation through a large number of titles of papers. You click on a word in the KWIC index, and the list sorts itself anew to show titles that have similar word sequence. Details of the papers are in the tip that is to one side.

KwicExample.png

Currently this index is for biochemistry papers. I also plan to use it to navigate through descriptions of different classes in Audacity. Here's a live demo of it.


Other Changes

Some other changes in the last two months:

  • Support for SVG Images, and opacity. A gotcha was that SVG text is not supported.
  • Better hyperlinks, easier to use, automatically generatable into templates for tip text.
  • Additional styles; Blunt arrows (for inhibition of a step), more metro-like stations on snake diagrams.
  • Programmatic modification of a diagram, after loading (used currently to highlight sections).
  • Convenience objects - 'Spacer' to help with layout. 'Tile' combines image, text and rectangle.


Lessons / Insights

  • The space subdivision approach I'm using is too fragile and too cumbersome for ordinary users. I may reuse the optimiser that places molecule atoms, so that users have a higher level way to specify layout.
  • I need more features for including one diagram into another - with modification. Sometimes one wants fine control over a sub image. Sometimes one want only coarse control. That requires 'different interfaces' to the same sub diagram.