Skip to content

ArcadeDb Studio - loading adjacent edges for more than one vertex, doesn't graphically connect the adjacent vertices #313

Closed

Description

@Jurgen-Aquilina

ArcadeDB Version: 22.1.3

JDK Version: Corretto 11

OS: Windows 10

Expected behavior

Adjacent vertices should be graphically connected, identical to existing behaviour with the first usage.

Actual behavior

First vertex expanded rendered correctly, adjacent vertices for subsequent ones are rendered without a connecting edge.

Steps to reproduce

Load code

    for (i in 0..250000) {
        val tester = database.newVertex("Tester")
        tester.set("id", i.toString())
        database.async().createRecord(tester) {}

        val software = database.newVertex("Software")
        software.set("id", i.toString())

        database.async().createRecord(software) {}

        val client = database.newVertex("Client")
        client.set("id", i.toString())

        database.async().createRecord(client) {}
    }

    database.async().waitCompletion()

    for (i in 0..250000) {
        database.async().newEdgeByKeys(
            "Tester",
            arrayOf("id"),
            arrayOf(i),
            "Software",
            arrayOf("id"),
            arrayOf(i),
            false,
            "testerOf",
            true,
            true,
            null
        )

        database.async().newEdgeByKeys(
            "Software",
            arrayOf("id"),
            arrayOf(i),
            "Client",
            arrayOf("id"),
            arrayOf(i),
            false,
            "belongsTo",
            true,
            true,
            null
        )
    }

    database.async().waitCompletion()

    print("done")

GUI Steps:

  • Select all Software vertices
  • Click any Software vertex
  • Click both under Actions -> Load adjacent outgoing, ingoing or both
  • Click any Software vertex
  • Click both under Actions -> Load adjacent outgoing, ingoing or both

Activity

  1. lvca commented on Feb 7, 2022

    @lvca
    Member

    This should be already fixed by the recent changes from the past week. Please @Jurgen-Aquilina let me know if you can check this with the latest snapshot. Thanks.

  2. Jurgen-Aquilina commented on Feb 11, 2022

    @Jurgen-Aquilina
    Author

    @lvca is the snapshot accessible through maven or do I need to add the JAR manually? If it is accessible through maven, can you link the repository please, as I cannot find it?

  3. lvca commented on Feb 11, 2022

    @lvca
    Member

    You should be able to find all the snapshots from this repository (put in your pom.xml before the tag ):

        <repositories>
            <repository>
                <id>github</id>
                <name>GitHub ArcadeData Apache Maven Packages</name>
                <url>https://maven.pkg.github.com/ArcadeData</url>
                <snapshots>
                    <enabled>true</enabled>
                </snapshots>
                <releases>
                    <enabled>true</enabled>
                </releases>
            </repository>
        </repositories>
  4. arcade-player commented on Feb 12, 2022

    @arcade-player
    Contributor

    Errata

    Snapshots are published on Sonatype OSS Maven repo:

    https://s01.oss.sonatype.org/content/repositories/snapshots/

     <repositories>
            <repository>
                <id>github</id>
                <name>Sonatype OSS<name>
                <url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
                <snapshots>
                    <enabled>true</enabled>
                </snapshots>
                <releases>
                    <enabled>falseenabled>
                </releases>
            </repository>
        </repositories>
  5. Jurgen-Aquilina commented on Feb 15, 2022

    @Jurgen-Aquilina
    Author

    @lvca I tested this again on 22.1.3-SNAPSHOT and the problem is still present

  6. self-assigned this
    on Feb 18, 2022
  7. added this to the 22.2.1 milestone on Feb 18, 2022
  8. lvca commented on Feb 18, 2022

    @lvca
    Member

    Added the snapshot repository in the ArcadeDB website under the "Getting Started with Java" section.

  9. lvca commented on Feb 18, 2022

    @lvca
    Member

    Tried with the Movie database and the load on request works. Check this video attached.

    issue313.mov
  10. Jurgen-Aquilina commented on Feb 20, 2022

    @Jurgen-Aquilina
    Author

    @lvca I tested with the OpenBeer database and it works with that one, but not with my attempts. Seems like the issue is isolated to lightweight edges, as using regular edges removed the issue. This applies to issues #312 and #311 as well.

  11. lvca commented on Feb 22, 2022

    @lvca
    Member

    @Jurgen-Aquilina I found the cause, thanks for the report. I'll work on this soon.

  12. modified the milestones: 22.2.1, 22.3.1 on Feb 23, 2022
  13. removed this from the 22.6.1 milestone on Jun 8, 2022
  14. 10 remaining items

  15. added this to the 23.1.1 milestone on Dec 23, 2022
  16. modified the milestones: 23.1.1, 23.1.2 on Jan 16, 2023
  17. modified the milestones: 23.1.2, 23.2.1 on Feb 1, 2023
  18. removed this from the 23.2.1 milestone on Mar 1, 2023
  19. lvca commented on Jun 20, 2023

    @lvca
    Member

    Is this issue still relevant after I closed #312 and #311?

  20. added this to the 23.6.1 milestone on Jun 20, 2023
  21. lvca commented on Jun 27, 2023

    @lvca
    Member

    No response for a while, closing the issue. In case this issue is still relevant, please comment below to reopen it.

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions