cytoscape / cytoscape/cyREST

Visual Properties outputs are inconsistent

Open
#39 0 comments 0 reactions 1 assignee Claimed by @dotasek View on GitHub
bug
Dominant language
JavaScript
Stars
31
Forks
11
PR merge metrics
No merged PRs in 30d

Description

```GET /v1/styles/visualproperties/{visualProperty}``` returns:
```json
{
"visualProperty": "EDGE_LABEL_WIDTH",
"name": "Edge Label Width",
"targetDataType": "CyEdge",
"default": "200.0"
}
```

Whereas, ```GET /v1/styles/{name}/defaults/{vp}``` and ```GET /v1/styles/{name}/defaults``` both use the format:
```json
{
"visualProperty": "EDGE_LABEL_WIDTH",
"value": 200
}
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.