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

Is it OK to change link color automatically?

0 votes
Hello,
 

First, I know automation is prohibited but I'd really need to change the color of some links automatically after working on a graphic.

I have 300+ links in the graphic, including around 100 I'd like to change to White color after I'm done updating the graphic (I don't want those links to be visible).

I could easily add a custom property on those links and change the color whitin the graphml file afterwards.

Would that be considered "automation", therefore prohibited?

Thanks
in Help by (240 points)
recategorized by

1 Answer

0 votes

How exactly do you intend to change link colors automatically? By post-processing your GraphML file with another tool/program? You are allowed to do that if yEd is not part of the automated post-processing step. E.g. the following work flow is allowed:

  1. Start yEd.
  2. Create a diagram.
  3. Save diagram in GraphML format.
  4. Quit yEd.
  5. Transform the yEd-created GraphML file with an XLST processor.

The important point is that steps 1 through 4 are done manually.

However, if you already have a custom property that marks your edges, try using yEd's properties mapper to change the line color of those edges. Might be easier than setting up yet another tool.

by [yWorks] (160k points)
The steps you described is exactly the way I'd do it. Sure a parsing tool would replace the color for me but yEd would never be involved.

I'll definitely take a look at the properties mapper.
Legal Disclosure | Privacy Policy
...