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

chore(viz): Add CustomNode component #202

Merged
merged 1 commit into from Oct 6, 2023

Conversation

lordrip
Copy link
Member

@lordrip lordrip commented Oct 6, 2023

Context

This CustomNode component will be the foundation for adding new nodes and for providing icons to the canvas

Screenshot

image

Relates:

@lordrip lordrip requested a review from a team October 6, 2023 13:38
This CustomNode component will be the foundation for adding new nodes
and for providing icons to the canvas

Relates:
* KaotoIO#75
* KaotoIO#76
}

const CustomNode: FunctionComponent<CustomNodeProps> = ({ element, ...rest }) => {
// const vizNode = element.getData()?.vizNode;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @tplevko, the icon should come from this vizNode object.

@lordrip lordrip merged commit 681bbc2 into KaotoIO:main Oct 6, 2023
6 checks passed
@lordrip lordrip deleted the chore/add-custom-node branch October 6, 2023 14:21
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

Successfully merging this pull request may close these issues.

None yet

2 participants