update: renaming stuff from react to "revue"

This commit is contained in:
Braks
2021-07-10 18:33:38 +02:00
parent 4661b685ad
commit 881655d483
35 changed files with 139 additions and 7009 deletions
@@ -14,7 +14,7 @@ const Marker = defineComponent({
setup(props, { slots }) {
return () => (
<marker
class="react-flow__arrowhead"
class="revue-flow__arrowhead"
id={props.id}
markerWidth="12.5"
markerHeight="12.5"
@@ -44,7 +44,7 @@ const MarkerDefinitions = defineComponent({
setup(props) {
return () => (
<defs>
<Marker id="react-flow__arrowclosed">
<Marker id="revue-flow__arrowclosed">
<polyline
stroke={props.color}
stroke-linecap="round"
@@ -54,7 +54,7 @@ const MarkerDefinitions = defineComponent({
points="-5,-4 0,0 -5,4 -5,-4"
/>
</Marker>
<Marker id="react-flow__arrow">
<Marker id="revue-flow__arrow">
<polyline
stroke={props.color}
stroke-linecap="round"
+1 -1
View File
@@ -318,7 +318,7 @@ const EdgeRenderer = defineComponent({
const renderConnectionLine = computed(() => pinia.connectionNodeId && pinia.connectionHandleType);
return () => (
<svg width={pinia.width} height={pinia.height} class="react-flow__edges">
<svg width={pinia.width} height={pinia.height} class="revue-flow__edges">
<g transform={transformStyle.value}>
{pinia.edges.map((edge: Edge) => (
<EdgeCmp