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

Adding new symbols on the graph #31

Closed
singhxp opened this issue Oct 28, 2017 · 3 comments
Closed

Adding new symbols on the graph #31

singhxp opened this issue Oct 28, 2017 · 3 comments

Comments

@singhxp
Copy link

singhxp commented Oct 28, 2017

I have the symbol working which display on the graph. If I want to change it to my own ICONS, do you have any example code you can point to. My knowledge of d3 symbol is limited .

for example i have icon <i className="icon-user icons font-2xl d-block mt-4/>"

@danielcaldas
Copy link
Owner

As you can see in the Node component render method (link) the component will always fall back to some kind of d3 symbol, to see all available node symbols you can consult react-d3-graph documentation node.symbolType config section.

Adding a prop that allows rd3g clients to pass down a custom icon is a new feature that could be considered, let's give some time to see if someone else request a similar behavior in order for me to reach a consensus on whether or not this feature should be implemented.

@stale
Copy link

stale bot commented Nov 18, 2017

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Nov 18, 2017
@danielcaldas danielcaldas added the duplicate already reported label Nov 18, 2017
@stale stale bot removed the wontfix label Nov 18, 2017
@danielcaldas
Copy link
Owner

Marked as duplicated. @singhxp In order to provide custom images to nodes the issue to follow is now #36.

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

No branches or pull requests

2 participants