Skip to content

fix: the id type does not support numbers, when using parallel.#36

Open
CorvusYe wants to merge 1 commit intograph-cn:mainfrom
CorvusYe:main
Open

fix: the id type does not support numbers, when using parallel.#36
CorvusYe wants to merge 1 commit intograph-cn:mainfrom
CorvusYe:main

Conversation

@CorvusYe
Copy link
Member

@CorvusYe CorvusYe commented Feb 4, 2026

    vertexes.add(
      {
        'id': 3, // Originally, only '3' was supported. After modification, it can now support 3
        'tag': 'tag${r.nextInt(9)}',
        'tags': [
          'tag${r.nextInt(9)}',
          if (r.nextBool()) 'tag${r.nextInt(4)}',
          if (r.nextBool()) 'tag${r.nextInt(8)}'
        ],
        'solid': false,
      },
    );

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant