Dear All,
I have a code that builds (and names) several graphs, here is a snapshot of the tabs of the graphs viewer:

I then export all of them to PDF, and to obtain a list I am using -graph dir- command:
However the result of the -graph dir- is sorted alphabetically.
I'd like to get the list in the same order the graphs' tabs are appearing in the graphs viewer.
I see the -graph dir- refers to a property .graphlist of system object ._Gr_Global, but this property has the list of graphs already sorted.
I understand that there is a workaround to have a global and accumulate graphs names there as they are built. I'd like to avoid that at the moment.
Is there any way to get the list of graphs in order of tabs?
Thank you,
Sergiy Radyakin
I have a code that builds (and names) several graphs, here is a snapshot of the tabs of the graphs viewer:
I then export all of them to PDF, and to obtain a list I am using -graph dir- command:
Code:
. graph dir altersoft datatype importance importance2 orgtype satis startyear userrole . return list macros: r(list) : "altersoft datatype importance importance2 orgtype satis startyear userrole "
However the result of the -graph dir- is sorted alphabetically.
I'd like to get the list in the same order the graphs' tabs are appearing in the graphs viewer.
I see the -graph dir- refers to a property .graphlist of system object ._Gr_Global, but this property has the list of graphs already sorted.
I understand that there is a workaround to have a global and accumulate graphs names there as they are built. I'd like to avoid that at the moment.
Is there any way to get the list of graphs in order of tabs?
Thank you,
Sergiy Radyakin
Comment