Skip to main content

Auto-Number your Flowchart in Lucidchart

  • August 3, 2023
  • 29 replies
  • 4143 views

Show first post

Comments

Kelsey Gaag
Forum|alt.badge.img+16
  • Lucidite
  • July 28, 2025

Hi ​@TroyCross

Thank you for the reply! To do this, you would either need to manually renumber using the data panel or utilize our data import feature to import new data to make changes. If you have an enterprise level account you can link data to Google Sheets or Excel, this allows for automatic updates when the data is changed. 

 


Forum|alt.badge.img
  • March 20, 2026

Hi, while this works well for open flowcharts, how do I get it to work when swimlanes are used?


Leianne C
Forum|alt.badge.img+15
  • Lucid support team
  • March 26, 2026

Hi ​@Mario.TZ, thank you for continuing this thread. Would you mind sharing a bit more details about how you’d like the auto numbering to work with swimlanes? For example, would you like it to be different for each lane? 

This will help us take a closer look and share the best recommendations for your use-case. Thank you!


Leianne C
Forum|alt.badge.img+15
  • Lucid support team
  • April 23, 2026

Hi ​@Mario.TZ, just following up with some advice that our development team shared regarding numbering with swimlanes. This will depends on how the auto-numbering would be expected to work within the swimlanes.

There are likely a lot of potential ways to number a process diagram within a swimlane, all of which might be valid depending on the expected outcome. For example, if we have the attached process diagram in swimlanes, how should we number sticky note k? Should it be numbered 4 (because it's the 4th in that lane) or 11 (because it's the 11th in the entire swimlane diagram)? Or should sticky note d be numbered 1 (since it's the first in lane B) or 4 (since it's the 4th in the diagram)?

  • One approach is to include the swimlane with the label (attached picture 2) using the overall ordering (e.g. B.4).
  • Another approach is to do essentially thing as the page numbering, but for each swimlane (attached picture 3).

It is definitely possible to get the auto-numbering to interact with swimlanes. The latter approach is functionally the same as the original one, with the diagram completely connected with Start and Distance, only in this case the ordering property is on the swimlane shape itself using a formula that calculates the ordering by lane:

=map(this.$lanes, l => groupby(map(sort(filter(l.$contents, x => and(not(iserror(x.Distance)), itemtype(x) = 'Block')), 'asc', x => x.Distance + 0), x => object('id', label(x), 'index', x.index)), x => x.id, x => x.index))

and the conditional formatting references it using =containedby.LaneOrdering[this.$id] (where containedby finds the containing shape and LaneOrdering is the name of the property with the above formula)

 

I hope this helps. Please feel free to let us know if you have any questions!