Skip to content

Cytoscape v4 -- planning for breaking API changes #2019

@maxkfranz

Description

@maxkfranz

Brainstorming of improvements that would cause breaking changes for a potential, future v4:

Modernising:

Improving formatting & naming:

  • ele.json() returns classes as an array
  • Make percent values be specified on [0, 1] when no units are specified, e.g. 0.5 is the same as 50%. In v3, if you specify 0.5, you will get 0.5%.
  • Make the { nodes: [], edges: [] } elements JSON format no longer the default for cy.json() export. Instead use, the plain array format.
  • Rename the core selector to cy, by default. The core value should still work, but it won't be returned by cy.json().

Improved defaults:

Removing deprecated features & other mistakes:

Moving features to external extensions or libraries:

  • Remove cose from the core bundle and make it an external extension. The force-directed layout that a programmer should choose by default is fcose.
  • Remove selectionType: 'additive' from the core lib and turn it into an extension

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions