code: def simple_example_with_pagination(step):
      # Text summaries can be grouped by Tag (the first argument to the `text`
      # summary's API).  Unique tags will have their own dropdown in the frontend,
      # unless those tags are sub-tags of another tag.  To create a subtag name,
      # one would input MainTagName/SubTagName as the input argument to the `text`
      # summary API.  Subtags will be displayed within the main tag's dropdown,
      # and a pager will appear if there are more than 12 subtags.  This test
      # displays that UI feature by creating 36 subtags within the main tag:
      # "simple_example_with_pagination"
      for i in range(36):
          greeting = tf.constant("hello from step %d! 😊" % step)
          tag = "card%d/greeting" % (i + 1)
          tf.summary.text(tag, greeting, step)
  
file_path: tensorboard/tensorboard/plugins/text/text_demo.py
imports: from absl import app
  from absl import logging
  import tensorflow
label_desc: Use image node_id 2 for calling a global function with example usage: simple_example_with_pagination(step) without return types