Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8194359
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T04:47:51+00:00 2026-06-07T04:47:51+00:00

I’m currently trying to dump a graph within java for yEd. I’ve been trying

  • 0

I’m currently trying to dump a graph within java for yEd. I’ve been trying to use graphml for the format, but I’ve found it to be very cumbersome. Particularly, the size of the nodes will not resize for the size of the label, so most of the time the label will be bigger than the actual file.

Is there anything I can do to remedy this without actually going in and specifying each node’s width and height?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T04:47:54+00:00Added an answer on June 7, 2026 at 4:47 am

    There is a way, although that way uses unofficial API and may not work in any release but the current one (3.9.2 as of writing).

    In the GraphML add the following key on the graph level:

      <g:key id="ppkey" for="graph" yfiles.type="postprocessors"/>
      <g:graph id="G" edgedefault="directed">
        <g:data key="ppkey">
          <y:Postprocessors>
            <y:Processor class="A.A.A.A.A">
              <y:Option name="IGNORE_WIDTHS" value="false"/>
              <y:Option name="IGNORE_HEIGHTS" value="true"/>
              <y:Option name="ADAPT_TO_MAXIMUM_NODE" value="false"/>
            </y:Processor>
          </y:Postprocessors>
        </g:data>
      </g:graph>
    

    As you can see “A.A.A.A.A” obviously is an obfuscated class name and that may change between builds and in a way break your script.

    The reason for this inconvenience is actually quite simple: yEd is not supposed to be used in an automated way (the license even explicitly forbids the purely automatic use case) and thus is optimized for interactive use. So clicking on the button is in fact intended. Why? Because yEd is a free product based on a powerful commercial library and it is only free because power users buy a license for the library and thus in a way sponsor yEd’s development and support. If you really need to programmatically leverage that power you should take a look at licensing the library directly.

    That said, you could also try the Excel import – it will automatically perform this step for you, however you will have to create an excel file to start from.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to understand how to use SyndicationItem to display feed which is
I want use html5's new tag to play a wav file (currently only supported
I'm trying to use string.replace('’','') to replace the dreaded weird single-quote character: ’ (aka
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I want to count how many characters a certain string has in PHP, but
I have a jquery bug and I've been looking for hours now, I can't
Basically, what I'm trying to create is a page of div tags, each has
I have a string like this: La Torre Eiffel paragonata all&#8217;Everest What PHP function
I have a French site that I want to parse, but am running into
I am trying to render a haml file in a javascript response like so:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.