Skip to content

Add options for setting default node and edge styles #7

Description

@jlaw9

Right now we set node and edge attributes for each node and edge separately. Most of the attributes we're setting are the same for all nodes and edges. It would be much cleaner (and probably faster) to set those attributes as defaults in a node or edge selector style attribute.

For example:

{
    "selector": "node",
    "style": {
        "shape": "ellipse",
        "background-color": "#666"
   }
},

Activity

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

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