Skip to content

Adding text label functionality #254

@Akirakato1

Description

@Akirakato1

I found VivaGraphJS so I can visualize some data I generated through java. I'd like to be able to label the nodes with some text (not image) to represent the state. How will I do that. I'm looking for something like graph.addNode(1,"state A"), and also change the color of edge and node.
Sorry I've never done JavaScript so I'm looking for help here instead of spending hours searching.
Thanks.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions