~ushin

https://ushin.org

USHIN is a tiny educational nonprofit whose mission is to promote personal, community, and global health through free and open universal shared information for everybody.

Trackers

~ushin/ushin

Last active a day ago

~ushin/u4u

Last active 1 year, 27 days ago

#135 Demo of graphviz-related code from org-graph-view 9 hours ago

Comment by ~ushin on ~ushin/ushin

Let's also add a transient interface to control the graph:

  1. "Focus" on one or more peers (remhash everybody else)
  2. Set threshold
  3. Set max hops
  4. Set starting peer
  5. Set topic

#173 Fit fons-graph-view to window size 22 hours ago

trust.el added by ~ushin on ~ushin/ushin

#135 Demo of graphviz-related code from org-graph-view 23 hours ago

Comment by ~ushin on ~ushin/ushin

Specific discussion re: making graphviz images fit within a window and also making imagemap fit to rendered svg: #173

RESOLVED CLOSED REPORTED

#173 Fit fons-graph-view to window size 23 hours ago

Comment by ~ushin on ~ushin/ushin

RESOLVED CLOSED REPORTED

#173 Fit fons-graph-view to window size 23 hours ago

Comment by ~ushin on ~ushin/ushin

#173 Fit fons-graph-view to window size 23 hours ago

Comment by ~ushin on ~ushin/ushin

Snippet from (info "(elisp)Image Descriptors")

Note that the map’s coordinates should reflect the displayed image after all transforms have been done (rotation, scaling and so on), and also note that Emacs (by default) performs auto-scaling of images, so to make things match up, you should either specify ‘:scale 1.0’ when creating the image, or use the result of ‘image-compute-scaling-factor’ to compute the elements of the map.

REPORTED RESOLVED CLOSED

#135 Demo of graphviz-related code from org-graph-view 23 hours ago

Comment by ~ushin on ~ushin/ushin

The following packages are related in some way:

#dynamic-graphs

Renders graphviz graphs to .png files for preview. No use of :map.

#svg-clock

Renders live-updating SVG clock in a buffer. Doesn't use :map or graphviz.

#sketch-mode

Impressive! Sketch on a live-updating SVG canvas in Emacs. Uses Emacs image :map property. Images do not rescale with window. Doesn't involve graphviz.

REPORTED RESOLVED CLOSED

#173 Fit fons-graph-view to window size a day ago

Comment by ~ushin on ~ushin/ushin

The org-graph-view notes.org file says,

If Emacs ever gains zoomable/pannable image rendering, this might be solvable, because then SVG output could be easily manipulated by the viewer.

What about image-transform-set-scale and image-scroll-{up,down,left,right}? It would be good to add mouse bindings to those commands.

If we remove dpi and size from the graphviz input and use the built-in zooming and panning commands, can we get cmap areas to align with the svg elements?

See window-inside-pixel-edges.

#173 Fit fons-graph-view to window size a day ago

Ticket created by ~ushin on ~ushin/ushin

With too many nodes in the graph, if :dpi and :size are specified in the call to graphviz, the generated SVG does not fit in the Emacs window. When :dpi and :size are omitted, the graph fits in the window.

IIUC, :dpi and :size are specified in an attempt to ensure that the cmapx imagemap lines up with the rendered svg. However, the imagemap doesn't seem to line up in any case.

#35 Create basic implementation of `trust.el` 26 days ago

Comment by ~ushin on ~ushin/ushin

Also interesting is Gnus Score Decays.