Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for more orbs around nodes #27

Open
grtjn opened this issue Nov 6, 2017 · 4 comments
Open

Add support for more orbs around nodes #27

grtjn opened this issue Nov 6, 2017 · 4 comments

Comments

@grtjn
Copy link

grtjn commented Nov 6, 2017

Orbs on the nodes should be allowed on at least NE (North-East), NW, SE, SW. Maybe also on N, S, W, E. They should be data-driven, not hard-coded.

@grtjn
Copy link
Author

grtjn commented Nov 6, 2017

Maybe something like:

var nodes = [{
    group: 'some group',
    id: 'some id',
    label: 'some label',
    orbs: {
        NE: {
            label: 'NE label!'
        },
        ...
    }
}]

@grtjn grtjn changed the title Add support for more orbs Add support for more orbs around nodes Nov 6, 2017
@grtjn
Copy link
Author

grtjn commented Nov 6, 2017

note: edgeCount and linkCount are too specific. It should be much more generic, and allow showing number, character, (small) image, or font-icon.

@patrickmcelwee
Copy link
Owner

I like where this is going. Maybe we could maintain support for something like linkCount/edgeCount as a convenience for the simple case, and we translate it into the appropriate orb.

@grtjn
Copy link
Author

grtjn commented Nov 7, 2017

Yes, legacy support will be easy..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants