Book a Demo

Author Topic: Layout Diagram  (Read 3529 times)

Christian Heinz

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Layout Diagram
« on: April 07, 2011, 08:18:06 pm »
Hi everyone,

i'm working with EA and C# for creating an Add In in a few weeks, after i've got some know-how about that.
I created a diagram an elements, and now i want to order them like a circle.
Is there a possibility to get the control over this functionality by c# code?

Regards

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Layout Diagram
« Reply #1 on: April 08, 2011, 10:05:01 am »
Quote
Hi everyone,

I'm working with EA and C# for creating an Add In in a few weeks, after I've got some know-how about that.
I created a diagram an elements, and now i want to order them like a circle.
Is there a possibility to get the control over this functionality by c# code?

Regards
AFAIK, You can't access the new layout functionality from AI.  You're left with figuring out the layout yourself and positioning stuff directly with code.

About 5 years ago, we experimented with getting some open source graph traversal programs to layout some specialised diagrams and it seemed to work OK, but there was a lot of overhead.

It would be much easier if we could get access to the new layout tools directly...  "Nudge, Nudge, Wink, Wink - Say no more!"1

Paolo
1Quote from an Aussie TV ad - featuring one of the 'Pythons (Eric Idle?).
« Last Edit: April 08, 2011, 10:05:29 am by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!