Expand stroke and node types

When an stroke is expanded, the nodes are changed.