Closed benfitzpatrick closed 5 years ago
Note after migration to cylc-web discussion:
- (Hilary) Agreed. Maybe. But very low priority.
Do we still want to consider this?
Do we still want to consider this?
I vote no; I anticipate some users may benefit from a non-textual indicator along with, or to replace, task names in a node, but I cannot see any pressing use case for embedding any arbitrary image. In light of that, could we support, along with text as standard, just a set of icons instead (via a direct means e.g. icon=atlas
which applies fa-atlas
)? Perhaps anything from a common set such as the free sub-set of Font Awesome (as per the previous example)?
Benefits to the above:
[visualization]
configuration of the styling without difficulty, since colour & opacity are easy to set via CSS for the icons so we just need to link up to that;I can't see people being bothered to use images for all task nodes; it would look messy anyway; and text task-name would be pretty much required as well unless every image was different (which ain't gonna happen). Further, this would break this our planned nice uniformity of task and job status icons in all views, for the new UI.
So I vote close this.
So I vote close this.
+1
it would look messy anyway
Definitely
I can't see people being bothered to use images for all task nodes
We support widget images in Rose Config, I think only two projects have actually used this feature.
We can use the
image
node attribute to draw images within nodes incylc graph
and thecylc gui
graph view. In fact, you can already embed an image within nodes forcylc graph
in the visualization section (add:image="/some/path/to/image.png", imagescale="both"
to a task in[[node attributes]]
.It would be best if we could get the image to avoid the text in the node (top right?).