{"size": 937, "ext": "js", "max_stars_repo_path": "src/routes/Bnet/components/SvgStyle.js", "max_stars_repo_name": "miyanokomiya/b-net", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/routes/Bnet/components/SvgStyle.js", "max_issues_repo_name": "miyanokomiya/b-net", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/routes/Bnet/components/SvgStyle.js", "max_forks_repo_name": "miyanokomiya/b-net", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 15.6166666667, "max_line_length": 55, "alphanum_fraction": 0.5197438634}
/**
 * スタイルマージ(可変長引数)
 */
export function m() {
  var res = {};
  for (var i=0; i < arguments.length; ++i) {
    if (arguments[i]) Object.assign(res, arguments[i]);
  }
  return res;
}

export const svgStyle = {
  fontFamily : "sans-serif",
}

export const lineStyle = {
  crossLine : {
    fill: "none",
    stroke: "#999",
    strokeWidth: 8,
  },
  nodeLine : {
    fill: "none",
    stroke: "#09d",
    strokeWidth: 4,
  },
  ancestorLine : {
    fill: "none",
    stroke: "#ff7f50",
    strokeWidth: 8,
  }
}

export const nodeStyle = {
  g : {
    cursor : "pointer"
  },
  shape : {
    stroke : "#666",
    strokeWidth : 4,
  },
  text : {
    fill : "black",
    stroke : "black",
    textAnchor : "middle",
  },
  shapeTarget : {
    stroke : "#000080",
    strokeWidth : 10,
  },
  shapeFamily : {
    stroke : "#000080",
    strokeWidth : 8,
  },
  star : {
    fill : "gold",
    strokeWidth : 2,
    stroke : "black",
  }
}