Comments (3)
fromLabel and toLabel is exactly what I need too:
from jsoncanvas.
Looks like GrapViz edge attributes, in particular splines
, style
and headlabel
, taillabel
. If being added to JSON Canvas, these features should better be aligned with these GraphViz attributes.
from jsoncanvas.
Apart from GraphViz some GEXF formats support visual attributes as well:
- nodes can have
color
(RGBA),shape
(disc, square, triangle, diamond) andsize
(scale factor of default 1.0) - edges can have
color
(RGBA),shape
(solid, dotted, dashed, double) andthickness
(scale factor of default 1.0)
These seem to be a subset of GraphViz attributes (e.g. thickness
convertable to penwidth
), so alignment of visual attributes in JSON Canvas with (a subset of) GraphViz attributes seems a reasonable choice.
Please note that generic attributes (arbitrary key-value-pairs), as supported in GML, GDF, GraphML among other formats, are another issue! Visual attributes should be special because they come with shared sematics while generic attributes depend on use case and application.
from jsoncanvas.
Related Issues (20)
- Create JSON Schema to further define and constrain the spec. HOT 7
- List of implementations HOT 2
- question: Are the preset color values part of the spec? HOT 1
- Custom node types or additional metadata? HOT 2
- BGL and jsoncanvas HOT 2
- node width and height should be optional HOT 11
- group types nodes are containing types but don't specify dimensions HOT 4
- are file nodes always local relative paths? HOT 2
- spec: Add an optional $schema property at top level HOT 3
- Properly reference standards JSON Canvas is based on
- Proposal: Edge offset property
- What is the purpose of the numerical color values? HOT 6
- Proposal: canvasz — a zipped canvas file, which packages a the markdown files along with it HOT 2
- Doc: add link to sourcecode HOT 1
- Need for clarification: toEnd & fromEnd HOT 1
- Canvas Spec should include version for migrations purposes. HOT 1
- use VazirMatn font for default font for fa HOT 3
- How to handle edges that can link to groups HOT 2
- [idea] Will be nice to have this in a vscode plugin. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsoncanvas.