Skip to main content



      Home
Home » Modeling » Papyrus » CSS customization of edges?
CSS customization of edges? [message #1712510] Mon, 26 October 2015 05:02 Go to next message
Eclipse UserFriend
Hi,

Is it possible to totally change the apperence of an edge using CSS, ie no just the line style, color etc but replaceit with an svg image, like for some nodes?

/Patrik
Re: CSS customization of edges? [message #1712512 is a reply to message #1712510] Mon, 26 October 2015 05:09 Go to previous messageGo to next message
Eclipse UserFriend
Hi Patrik,

This is currently not supported. For edges, we support Line Width, Line Style (Plain, Dashed, Dotted...), Line Color and it is also possible to hide the decoration at the end(s) of the line (But not possible to choose a different decoration).

Edge customization is must more complicated than it is for nodes, because we need to manage the anchors, bendpoints and routing algorithms, which might need to be changed when using an image rather than a line

Regards,
Camille
Re: CSS customization of edges? [message #1712513 is a reply to message #1712510] Mon, 26 October 2015 05:10 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

Replacing with a shape works only for nodes. In fact, Shape replacement relies on the display of the shape in a given compartment with everything else hidden, and the edges do not have yet such compartments.

In a conceptual point of view, it is kind of hard to map the edge concept (from one source to one target for the simplest ones) to the concept of SVGs, that do not really have such source and target elements. Perhaps adding some information in the SVG, as the anchor points could be possible. The bendpoints (edge angles) would also be hard to manage in svg figures.

HTH,
Rémi
Re: CSS customization of edges? [message #1712515 is a reply to message #1712513] Mon, 26 October 2015 05:16 Go to previous messageGo to next message
Eclipse UserFriend
Quick answers Smile. I know this is a really odd question but my though was to superimpose an svg on top of the edge and hide the actual edge, similar to what you can do in a shape. But as Remi writes you need a compartment 'in/on' the edge.
Re: CSS customization of edges? [message #1747919 is a reply to message #1712515] Wed, 16 November 2016 13:10 Go to previous message
Eclipse UserFriend
Any updates on this topic?

Regards, Vetle Vf.

[Updated on: Thu, 17 November 2016 04:47] by Moderator

Previous Topic:[toolsmith] Using the set values advice configuration
Next Topic:SysML requirement, how to add a satisfying element
Goto Forum:
  


Current Time: Mon Jul 14 10:37:59 EDT 2025

Powered by FUDForum. Page generated in 0.13903 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top