Welcome to yEd Q&A!
Here you can ask questions and receive answers from other members of the community and yEd developers. And you can tell us your most wanted feature requests.

Categories

yEd: how to create simple node shapes w/ line & fill styles

+1 vote
I created a very simple svg file:

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" id="svg2" version="1.1">
  <g>
    <path
       style="fill:#ffc000;stroke:#000000;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1"
       d="M 20,0 0,20 0,161.8 100,161.8 100,0 z M 20,0 L 20,20 L 0,20"
       id="fileshape"
    />
  </g>
</svg>

I can import it into my custom symbol library in yEd, but I can't change the fill color or stroke color/width in yEd, I'm stuck with whatever is in svg. Is there any way to change this? I understand why in general for svg shapes you treat them as-is, but for files that just have a single <path> element, why can't you recognize and modify the path style as necessary?
in Feature Requests by (370 points)
recategorized by

1 Answer

0 votes
Your observation is correct: SVGs are treated as-is, their properties cannot be altered by yEd in any way. This also holds for "simple" SVGs with only one <path> element.

But this sounds interesting, so why don't you change your question into a Feature Request?
by [yWorks] (23.7k points)
>why don't you change your question into a Feature Request?

how do I do that?
Simply "edit" your original question and change the question's type from "Help" to "Feature Request".
ok, thanks.
Legal Disclosure | Privacy Policy
...