Skip to main content

Hello Team,

I am working on a project to extract process flow data from Lucidchart diagrams using the Lucid REST API.

My Goal:
To accurately reconstruct the complete process flow, including annotations provided by Sticky Notes.

The Blocker:
My current data extraction process successfully captures connected shapes and lines. However, many of our diagrams use Sticky Notes that are visually near, but not formally connected by lines, to flow elements. Since these sticky notes are not connected, they are completely missed when I traverse the diagram data extracted via the API. 

My Question:
When using the Lucid REST API, how can I access or associate Sticky Notes that are not physically connected to other shapes in the diagram, so that I can include them in my extracted flow data?

Any guidance on accessing these unconnected items via the API would be greatly appreciated.

Hey ​@vamsi 

 

We had the same problem. Our solution was to group the sticky note with the shape. As groups are exposed on the API you can re-construct the ‘connection’.

To ensure all notes are grouped, we introduced a conditional formatting rule to spot those.. 

 

Hope this helps - Cheers Tobi

 


Hi ​@tobi,

Thanks so much for the suggestion! Using groups to create an explicit link is a fantastic idea, and the conditional formatting rule to enforce it is a great process tip.

I ran a diagnostic script against our target document to check for any "Group" objects, and it turns out the diagrams we need to process don't use this grouping convention. Unfortunately, since we don't have control over how these source documents are created, we can't enforce this as a standard.

Do we have any other approaches which can cleverly identify the sticky notes which is near to any shape, and somehow that can be appended to the flow.


hey ​@vamsi - ah right, well I assumed you have control over the source :( Well in this case I can’t help further. I’d need access to the x/y coordinates of the shape which ASAFIK are not exposed on API.

 

 


but wait, doesn’t the API allow export as PDF/PNG export? One (dirty/one-time) approach could be to feed that to LLM and extract the connections?


You're right, the export option is the next logical step. My only worry is that our flowcharts can get quite large and complex. I'm worried that when we save them as an image, some of the smaller text might become illegible or the AI might get confused by crowded connections, leading to an inaccurate analysis.


Unfortunately, as of today the document content export doesn’t give you information that you could use to derive the proximity of sticky notes to shapes, nor additional information that you could use to know what the sticky corresponds to.

We recognize that is problematic and are investigating ways to increase the use-cases that document export covers. I do not have an ETA of any changes yet.


Hi ​@vamsi thank you for your post, and thank you ​@tobi and ​@Michael B for your help!

@vamsi we are very interested in your feedback and committed to continually improving our products.

Please first search the Product Feedback section of this community (with the filter Topic Type = Idea) to see if it’s already been submitted. If so, please add any additional details you’d like and upvote the request - this consolidation helps to refine feedback and properly capture the popularity of the request.

If no one has submitted this idea yet, please create one of your own and be sure to include details about your use case or what you’d like to see in this experience. This will also allow other users with similar requests to discover and upvote it, then add details of their own.

For more information about how we manage feedback in this community, please take a look at this post:

Cheers!